aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-07 17:58:33 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-07 17:58:33 +0000
commit45b7523071aa1bffee8795fbb0d3b4cb8a61ca2a (patch)
tree668c76eda198d9331670908ef4c3cc1f9238345f /gdb/target.h
parent83ecb59f2d30383338dd70b3913485233a79b17d (diff)
downloadgdb-45b7523071aa1bffee8795fbb0d3b4cb8a61ca2a.zip
gdb-45b7523071aa1bffee8795fbb0d3b4cb8a61ca2a.tar.gz
gdb-45b7523071aa1bffee8795fbb0d3b4cb8a61ca2a.tar.bz2
2004-06-07 Andrew Cagney <cagney@gnu.org>
* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition. * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE): Rename PC_REQUIRES_RUN_BEFORE_USE. * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in #ifdef.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 664e242..92becca 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1088,15 +1088,6 @@ extern void (*deprecated_target_new_objfile_hook) (struct objfile *);
(*current_target.to_stopped_data_address) ()
#endif
-/* Sometimes gdb may pick up what appears to be a valid target address
- from a minimal symbol, but the value really means, essentially,
- "This is an index into a table which is populated when the inferior
- is run. Therefore, do not attempt to use this as a PC." */
-
-#if !defined(PC_REQUIRES_RUN_BEFORE_USE)
-#define PC_REQUIRES_RUN_BEFORE_USE(pc) (0)
-#endif
-
/* This will only be defined by a target that supports catching vfork events,
such as HP-UX.