OBS User unknown
2007-06-08 15:35:24 +00:00
committed by Git OBS Bridge
parent 9712638660
commit 549f54f140
6 changed files with 183 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
--- gdb/Makefile.in
+++ gdb/Makefile.in
@@ -2430,7 +2430,7 @@
@@ -2426,7 +2426,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)
@@ -2618,9 +2618,9 @@
@@ -2612,9 +2612,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) \
@@ -20,10 +20,10 @@
+ $(exec_h) $(auxv_h)
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)
$(solib_h) $(symfile_h) $(observer_h) $(gdb_string_h) $(gregset_h)
--- gdb/breakpoint.c
+++ gdb/breakpoint.c
@@ -3912,6 +3912,7 @@
@@ -3900,6 +3900,7 @@
printf_filtered ("%s%s ",
((b->enable_state == bp_disabled ||
b->enable_state == bp_shlib_disabled ||
@@ -31,7 +31,7 @@
b->enable_state == bp_call_disabled)
? " (disabled)"
: b->enable_state == bp_permanent
@@ -4588,6 +4589,60 @@
@@ -4586,6 +4587,60 @@
}
}
@@ -92,7 +92,7 @@
static void
solib_load_unload_1 (char *hookname, int tempflag, char *dll_pathname,
char *cond_string, enum bptype bp_kind)
@@ -7025,6 +7080,7 @@
@@ -7023,6 +7078,7 @@
&& !b->loc->duplicate
&& b->enable_state != bp_disabled
&& b->enable_state != bp_shlib_disabled
@@ -100,7 +100,7 @@
&& !b->pending
&& b->enable_state != bp_call_disabled)
{
@@ -7243,7 +7299,8 @@
@@ -7241,7 +7297,8 @@
break;
save_enable = b->enable_state;
@@ -120,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
@@ -797,8 +798,12 @@
@@ -793,8 +794,12 @@
extern void disable_breakpoints_in_shlibs (int silent);
@@ -135,7 +135,7 @@
extern void create_solib_unload_event_breakpoint (char *, int,
--- gdb/dwarf2read.c
+++ gdb/dwarf2read.c
@@ -1230,7 +1230,7 @@
@@ -1237,7 +1237,7 @@
else
dwarf2_per_objfile->loc_buffer = NULL;
@@ -157,7 +157,7 @@
mainline = 0;
--- gdb/infrun.c
+++ gdb/infrun.c
@@ -2239,6 +2239,11 @@
@@ -2223,6 +2223,11 @@
code segments in shared libraries might be mapped in now. */
re_enable_breakpoints_in_shlibs ();
@@ -352,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;
@@ -1378,6 +1416,8 @@
@@ -1374,6 +1412,8 @@
while (stop_signal != TARGET_SIGNAL_TRAP);
stop_soon = NO_STOP_QUIETLY;
#endif /* defined(_SCO_DS) */
@@ -363,7 +363,7 @@
static void
--- gdb/solib.c
+++ gdb/solib.c
@@ -384,15 +384,37 @@
@@ -394,15 +394,37 @@
/* Have we already loaded this shared object? */
ALL_OBJFILES (so->objfile)
{
@@ -404,7 +404,7 @@
free_section_addr_info (sap);
return (1);
@@ -573,28 +595,7 @@
@@ -583,28 +605,7 @@
/* Fill in the rest of each of the `struct so_list' nodes. */
for (i = inferior; i; i = i->next)
{
@@ -434,7 +434,7 @@
/* Notify any observer that the shared object has been
loaded now that we've added it to GDB's tables. */
@@ -690,6 +691,39 @@
@@ -700,6 +701,39 @@
}
}
@@ -509,7 +509,7 @@
reinit_frame_cache ();
--- gdb/symfile.c
+++ gdb/symfile.c
@@ -709,7 +709,7 @@
@@ -708,7 +708,7 @@
/* Now either addrs or offsets is non-zero. */
@@ -518,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. */
@@ -737,7 +737,7 @@
@@ -736,7 +736,7 @@
We no longer warn if the lowest section is not a text segment (as
happens for the PA64 port. */
@@ -527,7 +527,7 @@
{
asection *lower_sect;
asection *sect;
@@ -906,14 +906,14 @@
@@ -905,14 +905,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. */
@@ -544,7 +544,7 @@
{
breakpoint_re_set ();
}
@@ -959,7 +959,7 @@
@@ -958,7 +958,7 @@
interactively wiping out any existing symbols. */
if ((have_full_symbols () || have_partial_symbols ())
@@ -553,7 +553,7 @@
&& from_tty
&& !query ("Load new symbol table from \"%s\"? ", name))
error (_("Not confirmed."));
@@ -1140,6 +1140,11 @@
@@ -1138,6 +1138,11 @@
symfile_objfile->name)
: !query (_("Discard symbol table? "))))
error (_("Not confirmed."));
@@ -565,7 +565,7 @@
free_all_objfiles ();
/* solib descriptors may have handles to objfiles. Since their
@@ -2279,6 +2284,8 @@
@@ -2277,6 +2282,8 @@
/* Discard cleanups as symbol reading was successful. */
discard_cleanups (old_cleanups);
@@ -574,10 +574,10 @@
/* 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. */
@@ -2646,6 +2653,7 @@
@@ -2643,6 +2650,7 @@
set_default_breakpoint (0, 0, 0, 0);
clear_pc_function_cache ();
if (deprecated_target_new_objfile_hook)
deprecated_target_new_objfile_hook (NULL);
observer_notify_new_objfile (NULL);
+ varobj_refresh ();
/* Clear globals which might have pointed into a removed objfile.