This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[hppa/committed] Fix a typo in trampoline logic
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 19 Feb 2006 15:24:43 +0800
- Subject: [hppa/committed] Fix a typo in trampoline logic
The patch below reverts an inadvertant (I hope :) change to the
trampoline logic when Mark moved the code from hppa-linux-tdep.c to
hppa-tdep.c. Committed.
randolph
2006-02-19 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
unwind entry.
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.218
diff -u -p -r1.218 hppa-tdep.c
--- hppa-tdep.c 20 Jan 2006 23:37:07 -0000 1.218
+++ hppa-tdep.c 19 Feb 2006 07:18:41 -0000
@@ -2886,7 +2886,7 @@ hppa_in_solib_call_trampoline (CORE_ADDR
quite slow, so bail out if we do have an unwind entry. */
u = find_unwind_entry (pc);
- if (u == NULL)
+ if (u != NULL)
return 0;
return (hppa_match_insns_relaxed (pc, hppa_import_stub, insn)