diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-04-21 14:24:45 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-04-21 14:24:45 +0000 |
commit | 0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71 (patch) | |
tree | 4d8bb26bb50e96db8d329f12b3a8b4ca60554545 /gdb/windows-nat.c | |
parent | 889ec156e65c601566de13d90dfa140763eef513 (diff) | |
download | gdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.zip gdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.tar.gz gdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.tar.bz2 |
2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* win32-nat.c (handle_load_dll): Don't treat .text as a special
section anymore.
* somread.c (som_symfile_offsets): Ditto.
* somsolib.c (som_solib_add_solib_objfile): Ditto.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 0a1c427..869876e 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -558,7 +558,8 @@ handle_load_dll (PTR dummy) the offset from 0 of the first byte in an image - because of the file header and the section alignment. */ - section_addrs.text_addr = (int) event->lpBaseOfDll + 0x1000; + section_addrs.other[0].name = ".text"; + section_addrs.other[0].addr = (int) event->lpBaseOfDll + 0x1000; safe_symbol_file_add (dll_name, 0, §ion_addrs, 0, OBJF_SHARED); printf_unfiltered ("%x:%s\n", event->lpBaseOfDll, dll_name); |