diff options
author | Jeff Law <law@redhat.com> | 1994-11-07 07:51:47 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-11-07 07:51:47 +0000 |
commit | bb140953e4bab8026ff4c51f017755acbb3b253d (patch) | |
tree | d3d398b7d4b491c99269b82816a47e315c446e8f /gdb/config | |
parent | f4c01c95482e6d86f06dfd5c7c0a761f9fd47714 (diff) | |
download | gdb-bb140953e4bab8026ff4c51f017755acbb3b253d.zip gdb-bb140953e4bab8026ff4c51f017755acbb3b253d.tar.gz gdb-bb140953e4bab8026ff4c51f017755acbb3b253d.tar.bz2 |
* Beginnings of SOM shared library support. Breakpoints and
single frame backtracing within the library only. Only works when
using the HPUX 9 dynamic linker. More functionality to be added
soon.
* somsolib.c, somsolib.h: New files.
* Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h
(ALLDEPFILES): Add somsolib.c.
(somsolib.o): Add some dependencies.
* somread.c (som_symtab_read): Accept multiple section offsets.
All callers changed. Adjust all text symbols with the first
section offset.
* symfile.c (find_lowest_section): Enable this function. Add some
tie-breaking logic when sections have the same vma.
(syms_from_objfile): Use find_lowest_section rather than looking
for ".text" by name. Relax warning to only warn if the lowest
section is not a code section.
* config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
* config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/pa/hppabsd.mh | 2 | ||||
-rw-r--r-- | gdb/config/pa/hppahpux.mh | 2 | ||||
-rw-r--r-- | gdb/config/pa/nm-hppab.h | 2 | ||||
-rw-r--r-- | gdb/config/pa/nm-hppah.h | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/pa/hppabsd.mh b/gdb/config/pa/hppabsd.mh index cbb6f8b..161292d 100644 --- a/gdb/config/pa/hppabsd.mh +++ b/gdb/config/pa/hppabsd.mh @@ -6,4 +6,4 @@ HPREAD=hpread.o XDEPFILES= XM_FILE= xm-hppab.h NAT_FILE= nm-hppab.h -NATDEPFILES= hppab-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o $(HPREAD) +NATDEPFILES= hppab-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o $(HPREAD) somsolib.o diff --git a/gdb/config/pa/hppahpux.mh b/gdb/config/pa/hppahpux.mh index 6cfa8ed..dff59ab 100644 --- a/gdb/config/pa/hppahpux.mh +++ b/gdb/config/pa/hppahpux.mh @@ -10,6 +10,6 @@ XM_FILE= xm-hppah.h XDEPFILES= ser-tcp.o NAT_FILE= nm-hppah.h -NATDEPFILES= hppah-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o $(HPREAD) +NATDEPFILES= hppah-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o $(HPREAD) somsolib.o HOST_IPC=-DBSD_IPC -DPOSIX_WAIT diff --git a/gdb/config/pa/nm-hppab.h b/gdb/config/pa/nm-hppab.h index 4581658..421dfd7 100644 --- a/gdb/config/pa/nm-hppab.h +++ b/gdb/config/pa/nm-hppab.h @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "somsolib.h" + #define U_REGS_OFFSET 0 #define KERNEL_U_ADDR 0 diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index fdbc17e..f10e504 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "somsolib.h" + #define U_REGS_OFFSET 0 #define KERNEL_U_ADDR 0 |