* hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Various name changes to match those used by hp-symtab.h. No longer sanitize away hpread changes. Merge ChangeLog.hpread into ChangeLog and ChangeLog-93.
This commit is contained in:
parent
8ee0532ba8
commit
2848f79344
11 changed files with 459 additions and 470 deletions
|
@ -29,20 +29,6 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
hpread_files="hpread.c ChangeLog.hpread"
|
||||
|
||||
if ( echo $* | grep keep\-hpread > /dev/null ) ; then
|
||||
keep_these_too="${hpread_files} ${keep_these_too}"
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping ${hpread_files}
|
||||
fi
|
||||
else
|
||||
lose_these_too="${hpread_files} ${lose_these_too}"
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Deleting ${hpread_files}
|
||||
fi
|
||||
fi
|
||||
|
||||
# All files listed between the "Things-to-keep:" line and the
|
||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||
# Directories listed in this section will have their own Sanitize
|
||||
|
@ -159,6 +145,7 @@ hppa-pinsn.c
|
|||
hppa-tdep.c
|
||||
hppab-nat.c
|
||||
hppah-nat.c
|
||||
hpread.c
|
||||
i386-pinsn.c
|
||||
i386-stub.c
|
||||
i386-tdep.c
|
||||
|
|
112
gdb/ChangeLog
112
gdb/ChangeLog
|
@ -1,3 +1,8 @@
|
|||
Fri Nov 25 00:51:05 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
|
||||
Various name changes to match those used by hp-symtab.h.
|
||||
|
||||
Thu Nov 24 00:39:27 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
|
||||
|
@ -917,6 +922,27 @@ Wed Sep 28 08:59:14 1994 Jim Kingdon (kingdon@cygnus.com)
|
|||
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
|
||||
ignoring before. But continue to ignore XMC_DS.
|
||||
|
||||
Wed Sep 28 00:35:23 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_read_array_type): Do not change the type code
|
||||
to TYPE_CODE_PTR for "char foo[]". Just make it a zero length
|
||||
array type.
|
||||
|
||||
* hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
|
||||
lengths other than 32bits (HP C 9.69 represents an "unsigned char"
|
||||
as an T_UNS_LONG with length 8).
|
||||
|
||||
* hpread.c (struct hpread_symfile_info): Delete have_module field
|
||||
and accessor macro. Minor indentation fix.
|
||||
(hpread_build_psymtabs, case K_MODULE): Only start a new psymtab
|
||||
and reset state variables have_name & texthigh if pst is NULL.
|
||||
(hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a
|
||||
partial symbol table if pst is non-NULL. If pst is NULL, then
|
||||
start a new psymtab.
|
||||
(hpread_process_one_debug_symbol, case K_MODULE): Now empty.
|
||||
(hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and
|
||||
correct handling of subfiles.
|
||||
|
||||
Mon Sep 26 02:59:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||
|
||||
* defs.h (misc_command_type): Remove trailing comma from
|
||||
|
@ -1569,6 +1595,25 @@ Fri Aug 19 13:35:01 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
|||
(generic_load): Remove check for NULL filename, it is done
|
||||
in load_command now.
|
||||
|
||||
Fri Aug 19 10:36:15 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* Makefile.in (ALLDEPFILES): Add hpread.c.
|
||||
(hpread.o): Add dependencies.
|
||||
|
||||
* somread.c: Do not include "aout/aout64.h". SOM has nothing to
|
||||
do with a.out.
|
||||
(BYTES_IN_WORD): Delete.
|
||||
(som_symfile_read): Call hpread_build_psymtabs to build any
|
||||
minimal symbols based on the HP C native debug symbols.
|
||||
(som_symfile_finish): Call hpread_symfile_finish.
|
||||
(som_symfile_init): Call hpread_symfile_init.
|
||||
* config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define.
|
||||
* hppa-tdep.c (hpread_adjust_stack_address): New function.
|
||||
|
||||
* config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o
|
||||
* config/pa/hppahpux.mh (NATDEPFILES): Likewise.
|
||||
* hpread.c: New file.
|
||||
|
||||
Fri Aug 19 00:40:55 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hppa-tdep.c (skip_trampoline_code): Revert incorrect change
|
||||
|
@ -1665,6 +1710,17 @@ Sat Aug 13 08:22:50 1994 Fred Fish (fnf@cygnus.com)
|
|||
|
||||
* environ.c (init_environ): If no environment, do nothing.
|
||||
|
||||
Fri Aug 12 19:30:53 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Delete rest of TODO list. Do not include "libbfd.h",
|
||||
<time.h>, <sys/types.h>, "demangle.h", <sys/file.h>,
|
||||
"expression.h", "language.h", "gdbtypes.h", "demangleh".
|
||||
Move all global variables into the private symbol table structure
|
||||
and add accessor macros. Update some comments.
|
||||
(hpread_build_psymtabs): Delete dbsubc_addr, we don't need it.
|
||||
(hpread_end_psymtab): New function to end a partial symbol table,
|
||||
all callers changed (no more bogus sharing with dbxread.c).
|
||||
|
||||
Fri Aug 12 15:52:37 1994 Stu Grossman (grossman@cygnus.com)
|
||||
|
||||
* remote.c (remote_wait): Return inferior_pid instead of 0 for
|
||||
|
@ -1721,6 +1777,12 @@ Tue Aug 9 09:44:42 1994 Stu Grossman (grossman@cygnus.com)
|
|||
clutches.
|
||||
* (procfs_set_sproc_trap): Enable trapping of fork and vfork.
|
||||
|
||||
Mon Aug 08 15:34:13 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_process_one_debug_symbol): Fix block scoping
|
||||
problem (losing localvars on the close-brace instead of after
|
||||
the close brace).
|
||||
|
||||
Mon Aug 8 15:09:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
|
||||
|
||||
* i386-nlmstub.c (handle_exception): Wait until the thread has
|
||||
|
@ -2179,6 +2241,20 @@ Wed Jul 6 20:22:07 1994 Per Bothner (bothner@kalessin.cygnus.com)
|
|||
* ch-exp.y (yylex): First try name lookup using exact name
|
||||
typed by user; if that fails, try lower-cased name.
|
||||
|
||||
Wed Jul 06 12:39:07 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: More cleanups. Delete lots of trailing whitespace.
|
||||
Remove some items from the TODO list and notes throughout code
|
||||
for things which need fixing. Add more comments.
|
||||
Document bogus struct symloc sharing with dbxread.c. Delete more
|
||||
useless variables. Add more PARAM prototypes. Fixup more
|
||||
indention problems that have crept in.
|
||||
(SET_NAMESTRING): Accept new namep and objfile arguments so that
|
||||
it doesn't depend on the variable names on the procedures it's
|
||||
used from.
|
||||
(hpread_symfile_init): Delete incorrect checks for bogus sizes of
|
||||
the debug sections.
|
||||
|
||||
Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||
|
||||
* dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
|
||||
|
@ -2193,6 +2269,12 @@ Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
|||
* procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP
|
||||
ioctl, it indicates that the process has exited.
|
||||
|
||||
Mon Jul 04 19:48:03 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_symfile_init): Make sure to initialize all the
|
||||
private data to zero. Not having any HP C debug symbols is not an
|
||||
error. Just return.
|
||||
|
||||
Mon Jul 4 19:28:56 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hppa-tdep.c (read_unwind_info): ELF unwind information is in the
|
||||
|
@ -2214,6 +2296,17 @@ Sat Jul 2 01:51:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
|||
Define to enable handling of shared libraries for a.out executables,
|
||||
run under Solaris BCP.
|
||||
|
||||
Fri Jul 01 19:50:21 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Change contribution notice to the Cygnus/Utah agreed
|
||||
upon notice. Delete some stuff from the TODO list. Rework
|
||||
many comments to be clearer. Major cleanups. Consistently
|
||||
use "hpread_" prefix. Delete unnecessary macros, structures
|
||||
variables, fiels, functions and #if 0 code. Mark code which
|
||||
still needs to be cleaned up. PARAMize and make most functions
|
||||
static. Fix error checking when reading in the debug section
|
||||
contents. No more minimal symbol table handling in this code!
|
||||
|
||||
Thu Jun 30 13:59:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* infrun.c (wait_for_inferior): Print "Program exited normally"
|
||||
|
@ -3640,6 +3733,11 @@ Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com)
|
|||
VM_MIN_ADDRESS.
|
||||
* config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
|
||||
|
||||
Mon Mar 21 10:09:06 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (_initialize_hpuxread): Don't call add_symtab_fns if
|
||||
HPREAD is not defined.
|
||||
|
||||
Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com)
|
||||
|
||||
* sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE
|
||||
|
@ -3755,6 +3853,13 @@ Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com)
|
|||
|
||||
* rs6000-tdep.c: Change value to value_ptr.
|
||||
|
||||
Sun Mar 13 17:19:03 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab: Correctly determine the namespace
|
||||
and address class of SVAR, DVAR, TYPEDEF, TAGDEF, CONST, and
|
||||
MEMENUM symbols. Do not include function-scoped variables in
|
||||
the partial symbol table.
|
||||
|
||||
Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* i386m3-nat.c: Include floatformat.h.
|
||||
|
@ -4285,6 +4390,13 @@ Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
* defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
|
||||
BFD_HOST_64_TYPE.
|
||||
|
||||
Sun Feb 6 15:56:09 1994 Jeff Law (law@wild.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpux_symfile_init): Use obj_som_* rather than obj_* to
|
||||
access BFD private data. Search for the "$TEXT$" space rather
|
||||
than ".text".
|
||||
(hppa_sym_fns): Add bfd target flavour to initializer.
|
||||
|
||||
Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* target.c (target_preopen): If target_kill doesn't remove the
|
||||
|
|
119
gdb/ChangeLog-93
119
gdb/ChangeLog-93
|
@ -248,6 +248,12 @@ Thu Dec 16 13:08:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
|||
override.
|
||||
(REMOTE_BREAKPOINT): Likewise.
|
||||
|
||||
Thu Dec 16 09:14:58 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_function_type): Correctly handle
|
||||
pass-by-value structures > 64bits in size.
|
||||
(process_one_debug_symbol): Likewise.
|
||||
|
||||
Mon Dec 13 20:17:39 1993 Per Bothner (bothner@kalessin.cygnus.com)
|
||||
|
||||
Implement support for Chill POWERSETs.
|
||||
|
@ -888,6 +894,13 @@ Tue Nov 2 12:45:23 1993 Stan Shebs (shebs@rtl.cygnus.com)
|
|||
* gdbserver/Makefile.in (install, install_only): Add.
|
||||
* gdbserver/gdbserver.1: New file, man page for gdbserver.
|
||||
|
||||
Tue Nov 2 03:01:01 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Include <time.h> and <sys/types.h>. Change include
|
||||
of "libhppa.h" to "som.h".
|
||||
(BYTES_IN_WORD): Define.
|
||||
(hppa_sym_fns): "hppa" is 4 characters, not 5.
|
||||
|
||||
Mon Nov 1 09:40:21 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* symtab.c, symtab.h, source.c: Change find_line_pc_range to take
|
||||
|
@ -1904,6 +1917,11 @@ Wed Sep 29 18:34:22 1993 Stu Grossman (grossman at cygnus.com)
|
|||
* Makefile.in: Add deps for i386lynx-nat.o and i386lynx-tdep.o to
|
||||
keep non-gnu makes happy.
|
||||
|
||||
Wed Sep 29 17:20:54 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab): When a K_END is found for a
|
||||
K_MODULE, clear the have_module and have_name flags.
|
||||
|
||||
Wed Sep 29 10:52:19 1993 Kung Hsu (kung@cygnus.com)
|
||||
|
||||
* c-valprint.c: to fix virtual table print bug (pr2695).
|
||||
|
@ -2807,6 +2825,11 @@ Mon Aug 23 1993 Sean Fagan (sef@cygnus.com)
|
|||
Add NetBSD support:
|
||||
* configure.in: Recognize netbsd.
|
||||
|
||||
Sun Aug 22 22:50:32 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (get_textlow): Don't go past a K_END when looking for a
|
||||
K_FUNCTION. Avoids losing on source files with no functions.
|
||||
|
||||
Fri Aug 20 14:01:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* remote-nindy.c: Remove unused include of sys/ioctl.h.
|
||||
|
@ -2856,6 +2879,11 @@ Thu Aug 19 17:58:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
nl with initializer, just assign to it. Check n_scnum field on
|
||||
return.
|
||||
|
||||
Wed Aug 18 21:42:52 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
|
||||
debug symbols.
|
||||
|
||||
Wed Aug 18 12:03:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* printcmd.c (print_address), values.c (value_as_pointer): Don't
|
||||
|
@ -2928,6 +2956,12 @@ Mon Aug 16 13:52:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
the starting source line number on a line boundary if backtracing
|
||||
through sigtramp.
|
||||
|
||||
Mon Aug 16 09:52:33 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Add U Utah contribution notice. Add TODO list.
|
||||
(hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
|
||||
(process_one_debug_symbol): Likewise.
|
||||
|
||||
Mon Aug 16 02:56:01 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||
|
||||
* blockframe.c (create_new_frame, get_prev_frame_info):
|
||||
|
@ -3553,6 +3587,10 @@ Wed Jul 21 00:11:05 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
|||
* mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
|
||||
mips_in_lenient_prologue.
|
||||
|
||||
Tue Jul 20 14:14:59 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_array_type): Handle "char foo[]".
|
||||
|
||||
Tue Jul 20 12:53:47 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
|
||||
|
||||
* mips-tdep.c (heuristic_proc_start): First time we print the
|
||||
|
@ -3770,6 +3808,10 @@ Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
|
|||
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
|
||||
* config/m68k/dpx2.m{h,t}: New files.
|
||||
|
||||
Thu Jul 1 15:46:10 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Run through gnu-indent.
|
||||
|
||||
Sun Jul 11 12:32:08 1993 Doug Evans (dje@canuck.cygnus.com)
|
||||
|
||||
* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
|
||||
|
@ -4063,6 +4105,26 @@ Tue Jun 29 09:11:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
* symtab.h: Add comments about line numbers.
|
||||
* source.c (identify_source_line): Fix off by one bug with line.
|
||||
|
||||
Mon Jun 28 19:00:21 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Do not include libhppax. Instead include libhppa.h
|
||||
and hpux-symtab.h. Misc indention fixes.
|
||||
(find_unwind_entry): Add PARAM prototype.
|
||||
(read_hpux_symtab): More fixes for names and sizes of structs,
|
||||
unions, enums, typedefs, and tagdefs.
|
||||
(read_hp_enum_type, read_hp_struct_type): Likewise.
|
||||
(read_hp_set_type, read_hp_subrange_type): Likewise.
|
||||
(hp_type_lookup, process_one_debug_symbol): Likewise.
|
||||
(process_one_debug_symbol): Search forward from the K_FUNCTION for
|
||||
the first K_BEGIN when setting the line number associated with a
|
||||
function. Avoid unnecessary calls to savestring.
|
||||
(hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here. Remove
|
||||
most cases where we set it elsewhere.
|
||||
(hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
|
||||
paread.c use the same BFD backend now. All references changed.
|
||||
(hpux_symfile_init): Allocate space to hold the debugging section
|
||||
contents on the symbol obstack.
|
||||
|
||||
Mon Jun 28 10:09:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* printcmd.c (makeva*): New interface, for making a va_list.
|
||||
|
@ -4204,6 +4266,30 @@ Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
* partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
|
||||
* dbxread.c: Change comment regarding acc.
|
||||
|
||||
Wed Jun 23 16:33:36 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Document a few functions, misc cleanups. Update
|
||||
copyright to reflect the first "release" of this file.
|
||||
(struct hpux_symfile_info): Delete unneeded fields. Keep pointers
|
||||
to the contents of the debug sections rather than offsets within
|
||||
the file itself. Corresponding changes to the accessor macros.
|
||||
(sl_symbol_size, slt_symbuf): Delete unneeded global variables.
|
||||
(slt_symbuf_start, slt_symbuf_end, lntt_symbuf): Likewise.
|
||||
(lntt_symbuf_start, lntt_symbuf_end, gntt_symbuf): Likewise.
|
||||
(gntt_symbuf_start, gntt_symbuf_end): Likewise.
|
||||
(fill_slt_symbuf, fill_lntt_symbuf): Delete unneeded functions.
|
||||
(fill_gntt_symbuf): Likewise.
|
||||
(get_lntt, get_gntt, get_slt): Simplify.
|
||||
(hpux_symfile_init): Read and store the contents of the debugging
|
||||
sections. Do error checking on memory allocation and BFD calls.
|
||||
(read_hpux_symtab): Delete KERNELDEBUG crud. Ignore debug symbols
|
||||
which are not needed for building partial symbol tables. Handle
|
||||
K_CONST, K_TYPEDEF, and K_TAGDEF just like K_SVAR and K_DVAR.
|
||||
(read_ofile_symtab): Delete useless processing_gcc_compilation stuff.
|
||||
(read_hp_struct_type): Initialize TYPE_CPLUS_SPECIFIC.
|
||||
(read_hp_set_type, read_hp_array_type): Likewise.
|
||||
(read_hp_subrange_type, hp_type_lookup): Likewise.
|
||||
|
||||
Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
||||
|
||||
Makefile overhaul dropping autodepend features.
|
||||
|
@ -4285,6 +4371,17 @@ Wed Jun 23 00:25:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
|||
Don't try to print help message or version until after we have
|
||||
called initialize_all_files.
|
||||
|
||||
Tue Jun 22 11:03:13 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Delete useless #if 1 statements.
|
||||
(hp_type_translate): Use T_LONG, T_UNS_LONG, and T_DOUBLE instead
|
||||
of magic integers. Fix handling for T_UNS_INT. Abort if the type
|
||||
passed in is not an "immediate" type.
|
||||
(read_hp_enum_type): Properly compute the size of the type.
|
||||
(read_hp_array_type): Likewise.
|
||||
(hp_type_lookup): Prefix the names of structs, unions and enums
|
||||
with "struct", "union", and "enum" as appropriate.
|
||||
|
||||
Tue Jun 22 03:15:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
|
||||
|
@ -4327,6 +4424,15 @@ Mon Jun 21 15:10:07 1993 Fred Fish (fnf@cygnus.com)
|
|||
* Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
|
||||
* depend: Hand updated to match.
|
||||
|
||||
Mon Jun 21 10:13:42 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Include "demangle.h".
|
||||
(process_one_debug_symbol): Set the SYMBOL_LANGUAGE and
|
||||
SYMBOL_INIT_DEMANGLED_NAME for the current symbol. Adjust
|
||||
SYMBOL_VALUE for local variables in the stack by the size of the
|
||||
current function's stack (found in unwind descriptor). Keep
|
||||
better track of the current unwind descriptor.
|
||||
|
||||
Sun Jun 20 13:11:11 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
|
||||
|
@ -4396,6 +4502,11 @@ Wed Jun 16 16:08:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
|||
* remote-vx.c (_initialize_vx): rename user settable option from
|
||||
rpcTimeout to vxworks-timeout.
|
||||
|
||||
Wed Jun 16 14:34:10 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hp_type_translate): Fix promotion bugs from
|
||||
char to short and short to int.
|
||||
|
||||
Wed Jun 16 12:21:49 1993 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* Makefile.in (depend): More makefile diddling.
|
||||
|
@ -4543,6 +4654,14 @@ Thu Jun 10 13:26:41 1993 Fred Fish (fnf@cygnus.com)
|
|||
symbols, now that they are section relative.
|
||||
* solib.c (bfd_lookup_symbol): Ditto.
|
||||
|
||||
Thu Jun 10 11:27:34 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_function_type): Adjust SYMBOL_VALUE for
|
||||
arguments in the stack by the size of the current function's stack
|
||||
(found in the unwind descriptor).
|
||||
(process_one_debug_symbol): Likewise. Keep track of the current
|
||||
function's unwind descriptor.
|
||||
|
||||
Thu Jun 10 10:56:56 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
|
||||
|
|
|
@ -1,225 +0,0 @@
|
|||
Wed Sep 28 00:35:23 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_read_array_type): Do not change the type code
|
||||
to TYPE_CODE_PTR for "char foo[]". Just make it a zero length
|
||||
array type.
|
||||
|
||||
* hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
|
||||
lengths other than 32bits (HP C 9.69 represents an "unsigned char"
|
||||
as an T_UNS_LONG with length 8).
|
||||
|
||||
* hpread.c (struct hpread_symfile_info): Delete have_module field
|
||||
and accessor macro. Minor indentation fix.
|
||||
(hpread_build_psymtabs, case K_MODULE): Only start a new psymtab
|
||||
and reset state variables have_name & texthigh if pst is NULL.
|
||||
(hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a
|
||||
partial symbol table if pst is non-NULL. If pst is NULL, then
|
||||
start a new psymtab.
|
||||
(hpread_process_one_debug_symbol, case K_MODULE): Now empty.
|
||||
(hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and
|
||||
correct handling of subfiles.
|
||||
|
||||
Fri Aug 19 10:36:15 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* Makefile.in (ALLDEPFILES): Add hpread.c.
|
||||
(hpread.o): Add dependencies.
|
||||
|
||||
* somread.c: Do not include "aout/aout64.h". SOM has nothing to
|
||||
do with a.out.
|
||||
(BYTES_IN_WORD): Delete.
|
||||
(som_symfile_read): Call hpread_build_psymtabs to build any
|
||||
minimal symbols based on the HP C native debug symbols.
|
||||
(som_symfile_finish): Call hpread_symfile_finish.
|
||||
(som_symfile_init): Call hpread_symfile_init.
|
||||
* config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define.
|
||||
* hppa-tdep.c (hpread_adjust_stack_address): New function.
|
||||
|
||||
* config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o
|
||||
* config/pa/hppahpux.mh (NATDEPFILES): Likewise.
|
||||
* hpread.c: New file.
|
||||
|
||||
Fri Aug 12 19:30:53 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Delete rest of TODO list. Do not include "libbfd.h",
|
||||
<time.h>, <sys/types.h>, "demangle.h", <sys/file.h>,
|
||||
"expression.h", "language.h", "gdbtypes.h", "demangleh".
|
||||
Move all global variables into the private symbol table structure
|
||||
and add accessor macros. Update some comments.
|
||||
(hpread_build_psymtabs): Delete dbsubc_addr, we don't need it.
|
||||
(hpread_end_psymtab): New function to end a partial symbol table,
|
||||
all callers changed (no more bogus sharing with dbxread.c).
|
||||
|
||||
Mon Aug 08 15:34:13 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_process_one_debug_symbol): Fix block scoping
|
||||
problem (losing localvars on the close-brace instead of after
|
||||
the close brace).
|
||||
|
||||
Wed Jul 06 12:39:07 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: More cleanups. Delete lots of trailing whitespace.
|
||||
Remove some items from the TODO list and notes throughout code
|
||||
for things which need fixing. Add more comments.
|
||||
Document bogus struct symloc sharing with dbxread.c. Delete more
|
||||
useless variables. Add more PARAM prototypes. Fixup more
|
||||
indention problems that have crept in.
|
||||
(SET_NAMESTRING): Accept new namep and objfile arguments so that
|
||||
it doesn't depend on the variable names on the procedures it's
|
||||
used from.
|
||||
(hpread_symfile_init): Delete incorrect checks for bogus sizes of
|
||||
the debug sections.
|
||||
|
||||
Mon Jul 04 19:48:03 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpread_symfile_init): Make sure to initialize all the
|
||||
private data to zero. Not having any HP C debug symbols is not an
|
||||
error. Just return.
|
||||
|
||||
Fri Jul 01 19:50:21 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Change contribution notice to the Cygnus/Utah agreed
|
||||
upon notice. Delete some stuff from the TODO list. Rework
|
||||
many comments to be clearer. Major cleanups. Consistently
|
||||
use "hpread_" prefix. Delete unnecessary macros, structures
|
||||
variables, fiels, functions and #if 0 code. Mark code which
|
||||
still needs to be cleaned up. PARAMize and make most functions
|
||||
static. Fix error checking when reading in the debug section
|
||||
contents. No more minimal symbol table handling in this code!
|
||||
|
||||
Mon Mar 21 10:09:06 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (_initialize_hpuxread): Don't call add_symtab_fns if
|
||||
HPREAD is not defined.
|
||||
|
||||
Sun Mar 13 17:19:03 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab: Correctly determine the namespace
|
||||
and address class of SVAR, DVAR, TYPEDEF, TAGDEF, CONST, and
|
||||
MEMENUM symbols. Do not include function-scoped variables in
|
||||
the partial symbol table.
|
||||
|
||||
Sun Feb 6 15:56:09 1994 Jeff Law (law@wild.cs.utah.edu)
|
||||
|
||||
* hpread.c (hpux_symfile_init): Use obj_som_* rather than obj_* to
|
||||
access BFD private data. Search for the "$TEXT$" space rather
|
||||
than ".text".
|
||||
(hppa_sym_fns): Add bfd target flavour to initializer.
|
||||
|
||||
Thu Dec 16 09:14:58 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_function_type): Correctly handle
|
||||
pass-by-value structures > 64bits in size.
|
||||
(process_one_debug_symbol): Likewise.
|
||||
|
||||
Tue Nov 2 03:01:01 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Include <time.h> and <sys/types.h>. Change include
|
||||
of "libhppa.h" to "som.h".
|
||||
(BYTES_IN_WORD): Define.
|
||||
(hppa_sym_fns): "hppa" is 4 characters, not 5.
|
||||
|
||||
Wed Sep 29 17:20:54 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab): When a K_END is found for a
|
||||
K_MODULE, clear the have_module and have_name flags.
|
||||
|
||||
Sun Aug 22 22:50:32 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (get_textlow): Don't go past a K_END when looking for a
|
||||
K_FUNCTION. Avoids losing on source files with no functions.
|
||||
|
||||
Wed Aug 18 21:42:52 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
|
||||
debug symbols.
|
||||
|
||||
Mon Aug 16 09:52:33 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Add U Utah contribution notice. Add TODO list.
|
||||
(hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
|
||||
(process_one_debug_symbol): Likewise.
|
||||
|
||||
Tue Jul 20 14:14:59 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_array_type): Handle "char foo[]".
|
||||
|
||||
Thu Jul 1 15:46:10 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Run through gnu-indent.
|
||||
|
||||
Mon Jun 28 19:00:21 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Do not include libhppax. Instead include libhppa.h
|
||||
and hpux-symtab.h. Misc indention fixes.
|
||||
(find_unwind_entry): Add PARAM prototype.
|
||||
(read_hpux_symtab): More fixes for names and sizes of structs,
|
||||
unions, enums, typedefs, and tagdefs.
|
||||
(read_hp_enum_type, read_hp_struct_type): Likewise.
|
||||
(read_hp_set_type, read_hp_subrange_type): Likewise.
|
||||
(hp_type_lookup, process_one_debug_symbol): Likewise.
|
||||
(process_one_debug_symbol): Search forward from the K_FUNCTION for
|
||||
the first K_BEGIN when setting the line number associated with a
|
||||
function. Avoid unnecessary calls to savestring.
|
||||
(hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here. Remove
|
||||
most cases where we set it elsewhere.
|
||||
(hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
|
||||
paread.c use the same BFD backend now. All references changed.
|
||||
(hpux_symfile_init): Allocate space to hold the debugging section
|
||||
contents on the symbol obstack.
|
||||
|
||||
Wed Jun 23 16:33:36 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Document a few functions, misc cleanups. Update
|
||||
copyright to reflect the first "release" of this file.
|
||||
(struct hpux_symfile_info): Delete unneeded fields. Keep pointers
|
||||
to the contents of the debug sections rather than offsets within
|
||||
the file itself. Corresponding changes to the accessor macros.
|
||||
(sl_symbol_size, slt_symbuf): Delete unneeded global variables.
|
||||
(slt_symbuf_start, slt_symbuf_end, lntt_symbuf): Likewise.
|
||||
(lntt_symbuf_start, lntt_symbuf_end, gntt_symbuf): Likewise.
|
||||
(gntt_symbuf_start, gntt_symbuf_end): Likewise.
|
||||
(fill_slt_symbuf, fill_lntt_symbuf): Delete unneeded functions.
|
||||
(fill_gntt_symbuf): Likewise.
|
||||
(get_lntt, get_gntt, get_slt): Simplify.
|
||||
(hpux_symfile_init): Read and store the contents of the debugging
|
||||
sections. Do error checking on memory allocation and BFD calls.
|
||||
(read_hpux_symtab): Delete KERNELDEBUG crud. Ignore debug symbols
|
||||
which are not needed for building partial symbol tables. Handle
|
||||
K_CONST, K_TYPEDEF, and K_TAGDEF just like K_SVAR and K_DVAR.
|
||||
(read_ofile_symtab): Delete useless processing_gcc_compilation stuff.
|
||||
(read_hp_struct_type): Initialize TYPE_CPLUS_SPECIFIC.
|
||||
(read_hp_set_type, read_hp_array_type): Likewise.
|
||||
(read_hp_subrange_type, hp_type_lookup): Likewise.
|
||||
|
||||
Tue Jun 22 11:03:13 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Delete useless #if 1 statements.
|
||||
(hp_type_translate): Use T_LONG, T_UNS_LONG, and T_DOUBLE instead
|
||||
of magic integers. Fix handling for T_UNS_INT. Abort if the type
|
||||
passed in is not an "immediate" type.
|
||||
(read_hp_enum_type): Properly compute the size of the type.
|
||||
(read_hp_array_type): Likewise.
|
||||
(hp_type_lookup): Prefix the names of structs, unions and enums
|
||||
with "struct", "union", and "enum" as appropriate.
|
||||
|
||||
Mon Jun 21 10:13:42 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c: Include "demangle.h".
|
||||
(process_one_debug_symbol): Set the SYMBOL_LANGUAGE and
|
||||
SYMBOL_INIT_DEMANGLED_NAME for the current symbol. Adjust
|
||||
SYMBOL_VALUE for local variables in the stack by the size of the
|
||||
current function's stack (found in unwind descriptor). Keep
|
||||
better track of the current unwind descriptor.
|
||||
|
||||
Wed Jun 16 14:34:10 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (hp_type_translate): Fix promotion bugs from
|
||||
char to short and short to int.
|
||||
|
||||
Thu Jun 10 11:27:34 1993 Jeff Law (law@snake.cs.utah.edu)
|
||||
|
||||
* hpread.c (read_hp_function_type): Adjust SYMBOL_VALUE for
|
||||
arguments in the stack by the size of the current function's stack
|
||||
(found in the unwind descriptor).
|
||||
(process_one_debug_symbol): Likewise. Keep track of the current
|
||||
function's unwind descriptor.
|
3
gdb/NEWS
3
gdb/NEWS
|
@ -8,6 +8,9 @@ somewhat more sophisticated user-defined commands.
|
|||
running hpux9 or later. See the GDB manual for the few minor problems
|
||||
and potential workarounds.
|
||||
|
||||
* GDB can now read debug symbols produced by the HP C compiler on HPPAs
|
||||
(sorry, no C++, Fortran or 68k support).
|
||||
|
||||
*** Changes in GDB-4.13:
|
||||
|
||||
* New "complete" command
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
# Host: Hewlett-Packard PA-RISC machine, running BSD
|
||||
HPREAD=
|
||||
# start-sanitize-hpread
|
||||
HPREAD=hpread.o
|
||||
# end-sanitize-hpread
|
||||
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) somsolib.o
|
||||
NATDEPFILES= hppab-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
# Host: Hewlett-Packard PA-RISC machine, running HPUX
|
||||
|
||||
HPREAD=
|
||||
# start-sanitize-hpread
|
||||
HPREAD=hpread.o
|
||||
# end-sanitize-hpread
|
||||
TERMCAP = -lcurses
|
||||
|
||||
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) somsolib.o
|
||||
NATDEPFILES= hppah-nat.o coredep.o corelow.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o
|
||||
|
||||
HOST_IPC=-DBSD_IPC -DPOSIX_WAIT
|
||||
|
|
|
@ -522,10 +522,8 @@ extern void target_write_pc PARAMS ((CORE_ADDR, int));
|
|||
#define TARGET_READ_PC(pid) target_read_pc (pid)
|
||||
#define TARGET_WRITE_PC(v,pid) target_write_pc (v,pid)
|
||||
|
||||
/* start-sanitize-hpread */
|
||||
/* For a number of horrible reasons we may have to adjust the location
|
||||
of variables on the stack. Ugh. */
|
||||
#define HPREAD_ADJUST_STACK_ADDRESS(ADDR) hpread_adjust_stack_address(ADDR)
|
||||
/* end-sanitize-hpread */
|
||||
|
||||
extern int hpread_adjust_stack_address PARAMS ((CORE_ADDR));
|
||||
|
|
|
@ -521,7 +521,6 @@ find_unwind_entry(pc)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* start-sanitize-hpread */
|
||||
/* Return the adjustment necessary to make for addresses on the stack
|
||||
as presented by hpread.c.
|
||||
|
||||
|
@ -540,7 +539,6 @@ hpread_adjust_stack_address (func_addr)
|
|||
else
|
||||
return u->Total_frame_size << 3;
|
||||
}
|
||||
/* end-sanitize-hpread */
|
||||
|
||||
/* Called to determine if PC is in an interrupt handler of some
|
||||
kind. */
|
||||
|
|
433
gdb/hpread.c
433
gdb/hpread.c
File diff suppressed because it is too large
Load diff
|
@ -341,10 +341,8 @@ som_symfile_read (objfile, section_offsets, mainline)
|
|||
stabsect_build_psymtabs (objfile, section_offsets, mainline,
|
||||
"$GDB_SYMBOLS$", "$GDB_STRINGS$", "$TEXT$");
|
||||
|
||||
/* start-sanitize-hpread */
|
||||
/* Now read the native debug information. */
|
||||
hpread_build_psymtabs (objfile, section_offsets, mainline);
|
||||
/* end-sanitize-hpread */
|
||||
|
||||
/* Install any minimal symbols that have been collected as the current
|
||||
minimal symbols for this objfile. */
|
||||
|
@ -382,9 +380,7 @@ som_symfile_finish (objfile)
|
|||
{
|
||||
mfree (objfile -> md, objfile -> sym_stab_info);
|
||||
}
|
||||
/* start-sanitize-hpread */
|
||||
hpread_symfile_finish (objfile);
|
||||
/* end-sanitize-hpread */
|
||||
}
|
||||
|
||||
/* SOM specific initialization routine for reading symbols.
|
||||
|
@ -394,9 +390,7 @@ static void
|
|||
som_symfile_init (objfile)
|
||||
struct objfile *objfile;
|
||||
{
|
||||
/* start-sanitize-hpread */
|
||||
hpread_symfile_init (objfile);
|
||||
/* end-sanitize-hpread */
|
||||
}
|
||||
|
||||
/* SOM specific parsing routine for section offsets.
|
||||
|
|
Loading…
Reference in a new issue