aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-26 01:22:41 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-26 01:22:41 +0000
commit15d72a927a243487fe1497caa9701b05869c715d (patch)
tree9e939297ebb7bc8a679396631614319cdb436dea /gdb/alpha-tdep.c
parentaccc6d1ff368635135fb961397da748a4505008c (diff)
downloadgdb-15d72a927a243487fe1497caa9701b05869c715d.zip
gdb-15d72a927a243487fe1497caa9701b05869c715d.tar.gz
gdb-15d72a927a243487fe1497caa9701b05869c715d.tar.bz2
* alpha-tdep.c (alpha_skip_prologue_internal): Remove
GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to indicate that the condition it was testing is always true. * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 81c932c..6145e91 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1356,16 +1356,15 @@ alpha_skip_prologue_internal (CORE_ADDR pc, int lenient)
CORE_ADDR post_prologue_pc;
char buf[4];
-#ifdef GDB_TARGET_HAS_SHARED_LIBS
/* Silently return the unaltered pc upon memory errors.
This could happen on OSF/1 if decode_line_1 tries to skip the
prologue for quickstarted shared library functions when the
shared library is not yet mapped in.
Reading target memory is slow over serial lines, so we perform
- this check only if the target has shared libraries. */
+ this check only if the target has shared libraries (which all
+ Alpha targets do). */
if (target_read_memory (pc, buf, 4))
return pc;
-#endif
/* See if we can determine the end of the prologue via the symbol table.
If so, then return either PC, or the PC after the prologue, whichever