This commit is contained in:
committed by
Git OBS Bridge
parent
2100ce0800
commit
9712638660
@@ -1,6 +1,6 @@
|
||||
--- gdb/Makefile.in
|
||||
+++ gdb/Makefile.in
|
||||
@@ -2444,7 +2444,7 @@
|
||||
@@ -2430,7 +2430,7 @@
|
||||
$(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \
|
||||
$(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \
|
||||
$(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) \
|
||||
@@ -9,7 +9,7 @@
|
||||
observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \
|
||||
$(observer_inc)
|
||||
obsd-tdep.o: obsd-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(obsd_tdep_h)
|
||||
@@ -2663,9 +2663,9 @@
|
||||
@@ -2618,9 +2618,9 @@
|
||||
$(bcache_h) $(regcache_h)
|
||||
solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \
|
||||
$(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
|
||||
@@ -21,18 +21,9 @@
|
||||
sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
|
||||
$(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \
|
||||
$(solib_h) $(symfile_h) $(gdb_string_h) $(gregset_h)
|
||||
@@ -2773,7 +2773,7 @@
|
||||
$(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
|
||||
$(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
|
||||
$(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
|
||||
- $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) \
|
||||
+ $(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) $(varobj_h) \
|
||||
$(gdb_string_h) $(gdb_stat_h) $(observer_h) $(exec_h) \
|
||||
$(parser_defs_h)
|
||||
symfile-mem.o: symfile-mem.c $(defs_h) $(symtab_h) $(gdbcore_h) \
|
||||
--- gdb/breakpoint.c
|
||||
+++ gdb/breakpoint.c
|
||||
@@ -3810,6 +3810,7 @@
|
||||
@@ -3912,6 +3912,7 @@
|
||||
printf_filtered ("%s%s ",
|
||||
((b->enable_state == bp_disabled ||
|
||||
b->enable_state == bp_shlib_disabled ||
|
||||
@@ -40,7 +31,7 @@
|
||||
b->enable_state == bp_call_disabled)
|
||||
? " (disabled)"
|
||||
: b->enable_state == bp_permanent
|
||||
@@ -4487,6 +4488,60 @@
|
||||
@@ -4588,6 +4589,60 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +92,7 @@
|
||||
static void
|
||||
solib_load_unload_1 (char *hookname, int tempflag, char *dll_pathname,
|
||||
char *cond_string, enum bptype bp_kind)
|
||||
@@ -6833,6 +6888,7 @@
|
||||
@@ -7025,6 +7080,7 @@
|
||||
&& !b->loc->duplicate
|
||||
&& b->enable_state != bp_disabled
|
||||
&& b->enable_state != bp_shlib_disabled
|
||||
@@ -109,7 +100,7 @@
|
||||
&& !b->pending
|
||||
&& b->enable_state != bp_call_disabled)
|
||||
{
|
||||
@@ -7048,7 +7104,8 @@
|
||||
@@ -7243,7 +7299,8 @@
|
||||
break;
|
||||
|
||||
save_enable = b->enable_state;
|
||||
@@ -121,7 +112,7 @@
|
||||
/* If resetting a shlib-disabled breakpoint, we don't want to
|
||||
--- gdb/breakpoint.h
|
||||
+++ gdb/breakpoint.h
|
||||
@@ -159,6 +159,7 @@
|
||||
@@ -155,6 +155,7 @@
|
||||
automatically enabled and reset when the call
|
||||
"lands" (either completes, or stops at another
|
||||
eventpoint). */
|
||||
@@ -129,7 +120,7 @@
|
||||
bp_permanent /* There is a breakpoint instruction hard-wired into
|
||||
the target's code. Don't try to write another
|
||||
breakpoint instruction on top of it, or restore
|
||||
@@ -794,8 +795,12 @@
|
||||
@@ -797,8 +798,12 @@
|
||||
|
||||
extern void disable_breakpoints_in_shlibs (int silent);
|
||||
|
||||
@@ -144,7 +135,7 @@
|
||||
extern void create_solib_unload_event_breakpoint (char *, int,
|
||||
--- gdb/dwarf2read.c
|
||||
+++ gdb/dwarf2read.c
|
||||
@@ -1221,7 +1221,7 @@
|
||||
@@ -1230,7 +1230,7 @@
|
||||
else
|
||||
dwarf2_per_objfile->loc_buffer = NULL;
|
||||
|
||||
@@ -155,7 +146,7 @@
|
||||
{
|
||||
--- gdb/elfread.c
|
||||
+++ gdb/elfread.c
|
||||
@@ -556,7 +556,7 @@
|
||||
@@ -541,7 +541,7 @@
|
||||
/* If we are reinitializing, or if we have never loaded syms yet,
|
||||
set table to empty. MAINLINE is cleared so that *_read_psymtab
|
||||
functions do not all also re-initialize the psymbol table. */
|
||||
@@ -166,7 +157,7 @@
|
||||
mainline = 0;
|
||||
--- gdb/infrun.c
|
||||
+++ gdb/infrun.c
|
||||
@@ -2203,6 +2203,11 @@
|
||||
@@ -2239,6 +2239,11 @@
|
||||
code segments in shared libraries might be mapped in now. */
|
||||
re_enable_breakpoints_in_shlibs ();
|
||||
|
||||
@@ -209,7 +200,7 @@
|
||||
/* Create the terminating entry of OBJFILE's minimal symbol table.
|
||||
--- gdb/solib-svr4.c
|
||||
+++ gdb/solib-svr4.c
|
||||
@@ -34,6 +34,7 @@
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "gdbcore.h"
|
||||
#include "target.h"
|
||||
#include "inferior.h"
|
||||
@@ -217,7 +208,7 @@
|
||||
|
||||
#include "gdb_assert.h"
|
||||
|
||||
@@ -44,6 +45,7 @@
|
||||
@@ -43,6 +44,7 @@
|
||||
#include "bfd-target.h"
|
||||
#include "elf-bfd.h"
|
||||
#include "exec.h"
|
||||
@@ -225,7 +216,7 @@
|
||||
|
||||
static struct link_map_offsets *svr4_fetch_link_map_offsets (void);
|
||||
static int svr4_have_link_map_offsets (void);
|
||||
@@ -278,8 +280,6 @@
|
||||
@@ -261,8 +263,6 @@
|
||||
|
||||
/* Local function prototypes */
|
||||
|
||||
@@ -234,7 +225,7 @@
|
||||
static CORE_ADDR bfd_lookup_symbol (bfd *, char *, flagword);
|
||||
|
||||
/*
|
||||
@@ -404,17 +404,29 @@
|
||||
@@ -387,6 +387,16 @@
|
||||
gdb_byte *buf;
|
||||
gdb_byte *bufend;
|
||||
int arch_size;
|
||||
@@ -251,8 +242,9 @@
|
||||
|
||||
/* Find the start address of the .dynamic section. */
|
||||
dyninfo_sect = bfd_get_section_by_name (exec_bfd, ".dynamic");
|
||||
if (dyninfo_sect == NULL)
|
||||
return 0;
|
||||
@@ -404,11 +414,13 @@
|
||||
}
|
||||
|
||||
dyninfo_addr = bfd_section_vma (exec_bfd, dyninfo_sect);
|
||||
+ relocated_dyninfo_addr
|
||||
+ = dyninfo_addr + entry_addr - bfd_get_start_address (exec_bfd);
|
||||
@@ -265,7 +257,7 @@
|
||||
return 0;
|
||||
|
||||
/* Find the DT_DEBUG entry in the the .dynamic section.
|
||||
@@ -763,9 +775,55 @@
|
||||
@@ -757,9 +769,55 @@
|
||||
does have a name, so we can no longer use a missing name to
|
||||
decide when to ignore it. */
|
||||
if (IGNORE_FIRST_LINK_MAP_ENTRY (new) && ldsomap == 0)
|
||||
@@ -322,7 +314,7 @@
|
||||
int errcode;
|
||||
char *buffer;
|
||||
|
||||
@@ -783,10 +841,8 @@
|
||||
@@ -777,10 +835,8 @@
|
||||
strcpy (new->so_original_name, new->so_name);
|
||||
}
|
||||
|
||||
@@ -335,7 +327,7 @@
|
||||
free_so (new);
|
||||
else
|
||||
{
|
||||
@@ -882,24 +938,6 @@
|
||||
@@ -876,24 +932,6 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -360,7 +352,7 @@
|
||||
/* Return 1 if PC lies in the dynamic symbol resolution code of the
|
||||
SVR4 run time loader. */
|
||||
static CORE_ADDR interp_text_sect_low;
|
||||
@@ -1384,6 +1422,8 @@
|
||||
@@ -1378,6 +1416,8 @@
|
||||
while (stop_signal != TARGET_SIGNAL_TRAP);
|
||||
stop_soon = NO_STOP_QUIETLY;
|
||||
#endif /* defined(_SCO_DS) */
|
||||
@@ -371,7 +363,7 @@
|
||||
static void
|
||||
--- gdb/solib.c
|
||||
+++ gdb/solib.c
|
||||
@@ -396,15 +396,37 @@
|
||||
@@ -384,15 +384,37 @@
|
||||
/* Have we already loaded this shared object? */
|
||||
ALL_OBJFILES (so->objfile)
|
||||
{
|
||||
@@ -412,7 +404,7 @@
|
||||
free_section_addr_info (sap);
|
||||
|
||||
return (1);
|
||||
@@ -585,28 +607,7 @@
|
||||
@@ -573,28 +595,7 @@
|
||||
/* Fill in the rest of each of the `struct so_list' nodes. */
|
||||
for (i = inferior; i; i = i->next)
|
||||
{
|
||||
@@ -442,7 +434,7 @@
|
||||
|
||||
/* Notify any observer that the shared object has been
|
||||
loaded now that we've added it to GDB's tables. */
|
||||
@@ -702,6 +703,39 @@
|
||||
@@ -690,6 +691,39 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -484,7 +476,7 @@
|
||||
|
||||
--- gdb/solist.h
|
||||
+++ gdb/solist.h
|
||||
@@ -62,6 +62,8 @@
|
||||
@@ -61,6 +61,8 @@
|
||||
bfd *abfd;
|
||||
char symbols_loaded; /* flag: symbols read in yet? */
|
||||
char from_tty; /* flag: print msgs? */
|
||||
@@ -493,7 +485,7 @@
|
||||
struct objfile *objfile; /* objfile for loaded lib */
|
||||
struct section_table *sections;
|
||||
struct section_table *sections_end;
|
||||
@@ -116,6 +118,10 @@
|
||||
@@ -115,6 +117,10 @@
|
||||
/* Find solib binary file and open it. */
|
||||
extern int solib_open (char *in_pathname, char **found_pathname);
|
||||
|
||||
@@ -517,15 +509,7 @@
|
||||
reinit_frame_cache ();
|
||||
--- gdb/symfile.c
|
||||
+++ gdb/symfile.c
|
||||
@@ -49,6 +49,7 @@
|
||||
#include "readline/readline.h"
|
||||
#include "gdb_assert.h"
|
||||
#include "block.h"
|
||||
+#include "varobj.h"
|
||||
#include "observer.h"
|
||||
#include "exec.h"
|
||||
#include "parser-defs.h"
|
||||
@@ -660,7 +661,7 @@
|
||||
@@ -709,7 +709,7 @@
|
||||
|
||||
/* Now either addrs or offsets is non-zero. */
|
||||
|
||||
@@ -534,7 +518,7 @@
|
||||
{
|
||||
/* We will modify the main symbol table, make sure that all its users
|
||||
will be cleaned up if an error occurs during symbol reading. */
|
||||
@@ -688,7 +689,7 @@
|
||||
@@ -737,7 +737,7 @@
|
||||
|
||||
We no longer warn if the lowest section is not a text segment (as
|
||||
happens for the PA64 port. */
|
||||
@@ -543,7 +527,7 @@
|
||||
{
|
||||
asection *lower_sect;
|
||||
asection *sect;
|
||||
@@ -857,14 +858,14 @@
|
||||
@@ -906,14 +906,14 @@
|
||||
/* If this is the main symbol file we have to clean up all users of the
|
||||
old main symbol file. Otherwise it is sufficient to fixup all the
|
||||
breakpoints that may have been redefined by this symbol file. */
|
||||
@@ -560,7 +544,7 @@
|
||||
{
|
||||
breakpoint_re_set ();
|
||||
}
|
||||
@@ -910,7 +911,7 @@
|
||||
@@ -959,7 +959,7 @@
|
||||
interactively wiping out any existing symbols. */
|
||||
|
||||
if ((have_full_symbols () || have_partial_symbols ())
|
||||
@@ -569,7 +553,7 @@
|
||||
&& from_tty
|
||||
&& !query ("Load new symbol table from \"%s\"? ", name))
|
||||
error (_("Not confirmed."));
|
||||
@@ -1091,6 +1092,11 @@
|
||||
@@ -1140,6 +1140,11 @@
|
||||
symfile_objfile->name)
|
||||
: !query (_("Discard symbol table? "))))
|
||||
error (_("Not confirmed."));
|
||||
@@ -581,7 +565,7 @@
|
||||
free_all_objfiles ();
|
||||
|
||||
/* solib descriptors may have handles to objfiles. Since their
|
||||
@@ -2205,6 +2211,8 @@
|
||||
@@ -2279,6 +2284,8 @@
|
||||
/* Discard cleanups as symbol reading was successful. */
|
||||
discard_cleanups (old_cleanups);
|
||||
|
||||
@@ -590,7 +574,7 @@
|
||||
/* If the mtime has changed between the time we set new_modtime
|
||||
and now, we *want* this to be out of date, so don't call stat
|
||||
again now. */
|
||||
@@ -2580,6 +2588,7 @@
|
||||
@@ -2646,6 +2653,7 @@
|
||||
clear_pc_function_cache ();
|
||||
if (deprecated_target_new_objfile_hook)
|
||||
deprecated_target_new_objfile_hook (NULL);
|
||||
@@ -600,8 +584,8 @@
|
||||
FIXME: It's not clear which of these are supposed to persist
|
||||
--- gdb/varobj.c
|
||||
+++ gdb/varobj.c
|
||||
@@ -870,6 +870,58 @@
|
||||
return rootcount;
|
||||
@@ -1077,6 +1077,58 @@
|
||||
return changed;
|
||||
}
|
||||
|
||||
+void
|
||||
@@ -661,9 +645,9 @@
|
||||
expression to see if it's changed. Then go all the way
|
||||
--- gdb/varobj.h
|
||||
+++ gdb/varobj.h
|
||||
@@ -99,4 +99,6 @@
|
||||
@@ -114,4 +114,6 @@
|
||||
|
||||
extern int varobj_update (struct varobj **varp, struct varobj ***changelist);
|
||||
extern void varobj_invalidate (void);
|
||||
|
||||
+extern void varobj_refresh (void);
|
||||
+
|
||||
|
Reference in New Issue
Block a user