Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
authorPeter Schauer <Peter.Schauer@mytum.de>
Sat, 10 Feb 2001 12:01:11 +0000 (12:01 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Sat, 10 Feb 2001 12:01:11 +0000 (12:01 +0000)
commita8079a9b4cb31cbff90e4c6aba803dc7e9a1c2d0
treee316a773ab921de4faafcb5596c58c189171c826
parent4b2e486790b383f1c11a60c97deb2c23456d083a
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.
gdb/ChangeLog
gdb/config/rs6000/nm-rs6000.h
gdb/stack.c
gdb/xcoffsolib.c