Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: gdb/corefile.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/copyright.sh ('k') | gdb/corelow.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* Core dump and executable file functions above target vector, for GDB. 1 /* Core dump and executable file functions above target vector, for GDB.
2 2
3 Copyright (C) 1986-1987, 1989, 1991-1994, 1996-2001, 2003, 2006-2012 3 Copyright (C) 1986-1987, 1989, 1991-1994, 1996-2001, 2003, 2006-2012
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 5
6 This file is part of GDB. 6 This file is part of GDB.
7 7
8 This program is free software; you can redistribute it and/or modify 8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
(...skipping 16 matching lines...) Expand all
27 #include "symtab.h" 27 #include "symtab.h"
28 #include "command.h" 28 #include "command.h"
29 #include "gdbcmd.h" 29 #include "gdbcmd.h"
30 #include "bfd.h" 30 #include "bfd.h"
31 #include "target.h" 31 #include "target.h"
32 #include "gdbcore.h" 32 #include "gdbcore.h"
33 #include "dis-asm.h" 33 #include "dis-asm.h"
34 #include "gdb_stat.h" 34 #include "gdb_stat.h"
35 #include "completer.h" 35 #include "completer.h"
36 #include "exceptions.h" 36 #include "exceptions.h"
37 #include "observer.h"
37 38
38 /* Local function declarations. */ 39 /* Local function declarations. */
39 40
40 extern void _initialize_core (void); 41 extern void _initialize_core (void);
41 static void call_extra_exec_file_hooks (char *filename); 42 static void call_extra_exec_file_hooks (char *filename);
42 43
43 /* You can have any number of hooks for `exec_file_command' command to 44 /* You can have any number of hooks for `exec_file_command' command to
44 call. If there's only one hook, it is set in exec_file_display 45 call. If there's only one hook, it is set in exec_file_display
45 hook. If there are two or more hooks, they are set in 46 hook. If there are two or more hooks, they are set in
46 exec_file_extra_hooks[], and deprecated_exec_file_display_hook is 47 exec_file_extra_hooks[], and deprecated_exec_file_display_hook is
47 set to a function that calls all of them. This extra complexity is 48 set to a function that calls all of them. This extra complexity is
48 needed to preserve compatibility with old code that assumed that 49 needed to preserve compatibility with old code that assumed that
49 only one hook could be set, and which called 50 only one hook could be set, and which called
50 deprecated_exec_file_display_hook directly. */ 51 deprecated_exec_file_display_hook directly. */
51 52
52 typedef void (*hook_type) (char *); 53 typedef void (*hook_type) (char *);
53 54
54 hook_type deprecated_exec_file_display_hook; /* The original hook. */ 55 hook_type deprecated_exec_file_display_hook; /* The original hook. */
55 static hook_type *exec_file_extra_hooks; /* Array of additional 56 static hook_type *exec_file_extra_hooks; /* Array of additional
56 hooks. */ 57 hooks. */
57 static int exec_file_hook_count = 0; /* Size of array. */ 58 static int exec_file_hook_count = 0; /* Size of array. */
58 59
59 /* Binary file diddling handle for the core file. */ 60 /* Binary file diddling handle for the core file. */

error: old chunk mismatch

OLDNEW
« no previous file with comments | « gdb/copyright.sh ('k') | gdb/corelow.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698