aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>2001-02-10 12:01:11 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>2001-02-10 12:01:11 +0000
commita8079a9b4cb31cbff90e4c6aba803dc7e9a1c2d0 (patch)
treee316a773ab921de4faafcb5596c58c189171c826 /gdb/stack.c
parent4b2e486790b383f1c11a60c97deb2c23456d083a (diff)
downloadfsf-binutils-gdb-a8079a9b4cb31cbff90e4c6aba803dc7e9a1c2d0.zip
fsf-binutils-gdb-a8079a9b4cb31cbff90e4c6aba803dc7e9a1c2d0.tar.gz
fsf-binutils-gdb-a8079a9b4cb31cbff90e4c6aba803dc7e9a1c2d0.tar.bz2
Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
* xcoffsolib.c (xcoff_solib_address): Renamed from pc_load_segment_name. Return NULL if address is not in a shared library. Cleanup shared library name construction, using xasprintf. Format shared library member names consistent with format in exec.c. (solib_info): Format shared library member names consistent with format in exec.c. * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB, using xcoff_solib_address for PC_SOLIB definition. * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer needed.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 5bc044f..af415e2 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -626,24 +626,6 @@ print_frame (struct frame_info *fi,
annotate_frame_source_end ();
}
-#ifdef PC_LOAD_SEGMENT
- /* If we couldn't print out function name but if can figure out what
- load segment this pc value is from, at least print out some info
- about its load segment. */
- if (!funname)
- {
- annotate_frame_where ();
-#ifdef UI_OUT
- ui_out_wrap_hint (uiout, " ");
- ui_out_text (uiout, " from ");
- ui_out_field_string (uiout, "from", PC_LOAD_SEGMENT (fi->pc));
-#else
- wrap_here (" ");
- printf_filtered (" from %s", PC_LOAD_SEGMENT (fi->pc));
-#endif
- }
-#endif /* PC_LOAD_SEGMENT */
-
#ifdef PC_SOLIB
if (!funname || (!sal.symtab || !sal.symtab->filename))
{