aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-10-02 15:48:06 +0000
committerDaniel Jacobowitz <drow@false.org>2008-10-02 15:48:06 +0000
commitdb5f024eccfb16178a57402ef3d9d50f5944df41 (patch)
tree64aa7e343cb6cda0ad8ef1aa17a55bc469a946ef /gdb/infrun.c
parent9f9d052e600ed9436f9fd558d62a189c8cc3d43e (diff)
downloadgdb-db5f024eccfb16178a57402ef3d9d50f5944df41.zip
gdb-db5f024eccfb16178a57402ef3d9d50f5944df41.tar.gz
gdb-db5f024eccfb16178a57402ef3d9d50f5944df41.tar.bz2
* mips-linux-tdep.c (mips_linux_in_dynsym_resolve_code): Update
comments. (mips_linux_skip_resolver): Also use glibc_skip_solib_resolver. (mips_linux_init_abi): Do not override skip_trampoline_code. * configure.tgt (mips*-*-linux*): Add glibc-tdep.o. * mips-tdep.c (mips32_scan_prologue): Stop scanning at branches. (mips_stub_frame_sniffer): Use the stub frame sniffer for PIC stubs. (mips_skip_mips16_trampoline_code): Rename from mips_skip_trampoline_code. (mips_skip_pic_trampoline_code, mips_skip_trampoline_code): New. * infrun.c (handle_inferior_event): Do not pass zero to in_solib_dynsym_resolve_code.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 4b4df8f..abaceee 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3136,7 +3136,7 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n");
if (real_stop_pc != 0)
ecs->stop_func_start = real_stop_pc;
- if (in_solib_dynsym_resolve_code (ecs->stop_func_start))
+ if (real_stop_pc != 0 && in_solib_dynsym_resolve_code (real_stop_pc))
{
struct symtab_and_line sr_sal;
init_sal (&sr_sal);