Per Bothner
7e258d18e0
Oodles of changes. The most important is adding support for stabs
...
encapsulated in mips ecoff. See ChangeLog for the gory details.
1991-12-23 23:16:58 +00:00
John Gilmore
7a6093e880
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
...
since it is not needed and can cause errors when examining ".o"
files.
* symfile.c (compact_misc_function_vector): Handle empty vector.
1991-12-04 03:24:36 +00:00
Steve Chamberlain
f5f0679af0
Changes due to include file renaming:
...
* xcoffread.c: internalcoff.h ->coff/internal.c,
coff-rs6000.h ->coff/rs6000.h
* mipsread.c: coff-mips.h ->coff/mips.h
* elfread.c: elf-common.h ->elf/common.h
elf-external.h ->elf/external.h,
elf-internal.h ->elf/internal.h
* dwarfread.c dwarf.h ->elf/dwarf.h
* dbxread.c: aout64.h ->aout/aout64.h
stab.gnu.h ->aout/stab_gnu.h
* coffread.c: internalcoff.h ->coff/internal.h
* buildsym.c: stab.gnu.h ->aout/stab_gnu.h
* depend Updated to take the above into account.
1991-12-01 06:47:23 +00:00
John Gilmore
f1d77e9053
Improve G++ debugging support.
1991-11-27 09:43:59 +00:00
John Gilmore
7d9884b927
* defs.h: Incorporate param.h. All users changed.
...
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead.
* param.h, param-no-tm.h: Removed.
* Update copyrights in all changed files.
* dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
solib.c, symtab.h, tm-umax.h, valprint.c: Lint.
* tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
xm-merlin.h: Avoid host include files in target descriptions.
* getpagesize.h: Removed, libiberty copes now.
1991-11-21 18:42:05 +00:00
John Gilmore
e140f1dab1
Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
...
since it was always defined exactly the same in all of them.
1991-11-18 23:52:12 +00:00
Fred Fish
58ae87f612
Remove internal gdb definition of fixed arg count concat() function and
...
convert to use of variable arg count concat() in libiberty.
1991-11-12 17:50:14 +00:00
John Gilmore
a048c8f537
Add tracking of object files (that contain symbols) to gdb.
...
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file. See ChangeLog.
1991-11-09 10:50:07 +00:00
Steve Chamberlain
557f4de774
Include coff-m88k.h rather than m88kbcs.h
1991-11-08 02:17:43 +00:00
John Gilmore
e64fbb3aa7
* coffread.c: Eliminate c_nsyms in favor of c_naux.
...
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos): Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.
1991-11-07 01:27:46 +00:00
John Gilmore
d47d5315c8
* symfile.c (syms_from_bfd): New routine.
...
(add_symbol_file): Call it to do the real work.
(syms_from_bfd): Initialize entry_point before calling symfile_init.
* symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
1991-10-26 08:02:23 +00:00
Stu Grossman
159a075e55
* coffread.c, coredep.c, i386-xdep.c: install patches for
...
SysV/386 3.2 from Mauro DePalma.
1991-10-25 23:10:12 +00:00
John Gilmore
9bba3334a0
* dbxread.c, coffread.c: static-ize functions that were
...
gratuitiously external. (From Fred Fish.)
1991-10-04 06:46:30 +00:00
John Gilmore
d8ce13268e
* coffread.c (coff_symfile_read): Use xmalloc, not malloc.
...
* language.c, printcmd.c: Lint.
* language.h (get_frame_language): Declare.
* saber.suppress: update.
* stack.c (find_relative_frame): Remove complex code that was
#if 0'd, stick with simple code. Lint.
* saber.suppress: Update a bit.
* symfile.c (add_symbol_file_command): Add "?" to question.
* utils.c (parse_escape): Avoid \a due to bdead compilers.
* value.h: Declare typedef_print.
* valprint.c (val_print, type_print_base): TYPE_CODE_RANGE less
kludgey.
1991-09-28 01:35:29 +00:00
John Gilmore
cadbb07a69
* core.c (core_file_command): Print frame at coredump with
...
its level number, by calling print_stack_frame.
* frame.h: Add selected_frame_level, print_stack_frame.
* frame.h, stack.c: Remove print_sel_frame, print_selected_frame.
* convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c:
Change print_sel_frame and print_selected_frame callers to
print_stack_frame.
* dbxread.c (read_ofile_symtab): Avoid empty else clause.
* symfile.c (free_named_symtabs): Ditto.
* main.c (main): wrap_here needs an arg.
* solib.c (find_solib): Avoid memory access if _DYNAMIC is zero.
(solib_add): Avoid noise.
(solib_create_inferior_hook): Lint.
(sharedlibrary_command): Move dont_repeat to here.
* utils.c (error): Call wrap_here to force buffered output.
Small patches from Peter Schauer:
* coffread.c (start_symtab): Free any existing line_vector before
malloc-ing new one.
(read_coff_symtab): Ditto for type_vector.
* source.c (lines_to_list): New variable, replacing function.
(all uses): Use as variable.
(_initialize_source): Add 'set listsize' and 'show listsize'.
* utils.c (lines_to_list): Remove function.
* stack.c (print_frame_info): Use as variable.
* defs.h (lines_to_list): Remove declaration.
1991-09-11 01:49:50 +00:00
Stu Grossman
61a7292f6f
lint
1991-08-22 22:50:50 +00:00
John Gilmore
6988f5c0ae
Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)
...
* configure.in, Makefile.in: Avoid rebuilding "depend" as much.
Avoid declaring Makefile dependencies, because GNU Make stupidly
tries to update it if we do.
* coffread.c: Revise for minor changes to bfd internal coff
indexes.
* configure: If -template= is given a relative path, make it
absolute before recurring in subdirectories.
1991-07-05 00:04:59 +00:00
John Gilmore
99a7de40cb
Change GDB over to GNU General Public License version 2.
1991-06-04 07:31:55 +00:00
John Gilmore
dcc355360e
Update bfd_h_get{short,long} to bfd_h_get{_16,_32} for basic type size
...
independence.
1991-05-29 00:13:44 +00:00
K. Richard Pixley
beff312ea7
configure changes and -opcode.h movement.
1991-05-19 07:27:02 +00:00
John Gilmore
5594d534a2
Saber C (lint) cleanups, and a few bug fixes. See ChangeLog.
1991-05-04 23:15:02 +00:00
Jim Kingdon
8aa13b8777
Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog.
1991-05-03 06:02:03 +00:00
Jim Kingdon
e1ce8aa5ed
The list of changes is too long to fit in the cvs log (since it truncates!).
...
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02 04:28:42 +00:00
John Gilmore
639893384d
Merge devo/bfd with GDB's bfd.
...
Get getopt and obstack from -liberty rather than compiling them here.
* coffread.c: turn a printf into a complain(), and try to deal more
gracefully with botched-looking lineno pointers.
* dbxread.c: Use bfd_get_symcount rather than bfd_get_symcount_upper_bound.
Don't coredump on files with zero symbols in them (a BFD bug showed this one).
* environ.c: Pass GNUTARGET into the parent (gdb) as well as the child.
1991-05-02 03:39:15 +00:00
Jim Kingdon
b203fc1803
* coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).
...
* coffread.c (end_symtab): Initialize language, dirname, and
fullname fields.
1991-04-21 05:17:05 +00:00
Jim Kingdon
ab8f22a975
Fix comment (coff-encap -> dbx-in-coff).
1991-04-20 00:41:55 +00:00
Jim Kingdon
8714ff355d
* coffread.c (read_coff_symtab): Check for "LF%" with all the
...
other L*% things.
* coffread.c (SDB_TYPE): New macro.
various: Use it instead of checking against T_NULL.
1991-04-19 21:48:55 +00:00
John Gilmore
a6e2b4241e
* coffread.c (end_psymtab): Free named symtabs and psymtabs for
...
a file, once a new symtab has been read for it.
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
file-static symbols and the first of the smaller scope contours.
* symtab.c (lookup_symbol, find_pc_symtab, find_pc_line,
decode_line_1, make_symbol_completion_list): Use the above.
* coffread.c (end_symtab, patch_opaque_types): Ditto.
1991-04-13 22:29:36 +00:00
K. Richard Pixley
bd5635a1e2
Initial revision
1991-03-28 16:26:26 +00:00
John Gilmore
831c851165
Initial revision
1990-09-05 17:54:31 +00:00
gdb-3.5
7a67dd45ca
gdb-3.5
2012-06-03 15:36:32 +01:00
gdb-3.4
1c997a4ae8
gdb-3.4
2012-06-03 15:36:32 +01:00
gdb-3.3
4187119d59
gdb-3.3
2012-06-03 15:36:32 +01:00
gdb-3.1
e91b87a368
gdb-3.1
2012-06-03 15:36:31 +01:00
gdb-2.8.1
bb7592f010
gdb-2.8.1
2012-06-03 15:36:31 +01:00
gdb-2.8
3bf57d2108
gdb-2.8
2012-06-03 15:36:31 +01:00
gdb-2.5.1
632ea0ccc5
gdb-2.5.1
2012-06-03 15:36:30 +01:00
gdb-2.4+.aux.coff
7b4ac7e1ed
gdb-2.4+.aux.coff
2012-06-03 15:36:30 +01:00