Fred Fish
84ce6717b0
More fixes for opaque and anonymous enumerations, structures, and unions.
...
Now passes all current gdb test suite tests.
1991-12-06 19:51:01 +00:00
Fred Fish
5edf98d7a2
Fixes to improve opaque struct/union handling. Still fails to find the
...
complete definition for files outside the one containing the complete
definition, if that file has not yet been read in. (Working on it...)
1991-12-06 16:37:20 +00:00
John Gilmore
7b2a87cab2
* symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
...
mid-line, be more careful about possibly advancing to the next line.
1991-12-06 09:22:33 +00:00
Michael Tiemann
1cca172985
Fix off-by-one error in cplus name demangling.
1991-12-06 03:01:12 +00:00
Fred Fish
715cafcbde
Several changes to fix misc problems with enums, structs, and unions,
...
including building symbol table entries for enumeration members.
1991-12-06 02:22:10 +00:00
John Gilmore
a0a6174ae3
* symtab.c (check_stub_method): Must allocate two extra argument
...
slots (one for `this', one for arglist terminator).
1991-12-06 01:32:34 +00:00
Fred Fish
817b8c46f8
Supply missing '"' character.
1991-12-05 19:34:08 +00:00
Fred Fish
c8d9eb8e43
Supply missing parenthesis (~line 1269).
1991-12-05 18:53:46 +00:00
John Gilmore
299ee4e6c7
Fencepost error in reporting regs we can't find in core file.
1991-12-05 12:20:18 +00:00
John Gilmore
2a5ec41d88
Fix things pointed up by Fred Fish's test suite; see ChangeLog.
1991-12-05 11:56:20 +00:00
Fred Fish
98618bf78a
Arrange for enumeration members to be manipulated in source code order,
...
since they are stored in the Dwarf info in reverse order.
1991-12-05 05:09:20 +00:00
John Gilmore
3c7cc3b70e
* main.c (input_from_terminal_p): Check whether GDB has a terminal at all.
...
(initialize_main): Revise doc for `set editing'.
1991-12-05 02:26:45 +00:00
Fred Fish
8b5b6fae67
Handle structures and unions which contain DIE's other than just member
...
DIE's.
1991-12-04 23:40:07 +00:00
John Gilmore
6470e9c375
* symfile.c (reread_symbols): Avoid kludging mtime_set, now that BFD is fixed.
1991-12-04 09:59:52 +00:00
John Gilmore
34a160569a
Improve installation doc slightly, by Mark Sirota's request.
1991-12-04 08:59:57 +00:00
John Gilmore
4369a1406f
* Makefile.in: VERSION 4.2.96.
...
* main.c (initialize_main): Revise command descriptions.
* command.c (show_user): `info user' -> `show user'.
* symtab.c (_initialize_symtab): Typo in `info types' desc.
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type): Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.
* symfile.c (compact_misc_function_vector): Handle empty vector.
(complain, clear_complaints, syms_from_objfile): Fix complaint
formatting.
* xcoffexec.c: Change syms_from_objfile caller.
1991-12-04 08:36:17 +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
John Gilmore
2e00f40a38
Make it compile for cross-debugging.
1991-12-04 01:26:05 +00:00
Per Bothner
ce623b5fd1
Two small mips-specific fixes (see ChangeLog).
1991-12-02 19:08:31 +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
Fred Fish
8978401fd1
Add new files mh-i386v4 and mt-i386v4 to .Sanitize, check in the new
...
files.
1991-11-30 04:49:48 +00:00
Fred Fish
9336ad7aea
Initial revision
1991-11-30 04:49:47 +00:00
Fred Fish
8c6e9f05f2
Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
...
file, recognize names beginning with '.' as compiler generated "fake" tags
for anonymous structures, unions and enums. Add target dependent functions
for SVR4 /proc register interface (i386-tdep.c).
1991-11-30 04:46:50 +00:00
Fred Fish
3053b9f218
Change simple call to printf of error message to a call to error(). Output
...
was not getting flushed and was not being newline terminated.
1991-11-30 01:02:03 +00:00
Roland Pesch
4b195f9a30
*** empty log message ***
1991-11-30 00:06:36 +00:00
Roland Pesch
a6d0b6d30f
(1) At Bob Chassell's request, remove leading comments that used to
...
survive M4 filtering but still tell people the original source was
M4'd;
(2) Also for B.C., include one more emphasis font in @colophon at end;
(3) Thanks to J Gilmore, strengthen wording about unsupported
combinations of host-manufacturer-OS in config Appendix.
1991-11-30 00:01:01 +00:00
John Gilmore
67c29f758d
Make structs work on DECstation (sigh)
1991-11-28 00:51:48 +00:00
John Gilmore
52bd2c221f
Fix syntax errors.
1991-11-27 23:32:47 +00:00
Michael Tiemann
a33336a38e
readline/sysdep.h no longer exists, so main.o does not depend on it.
1991-11-27 12:22:35 +00:00
John Gilmore
f1d77e9053
Improve G++ debugging support.
1991-11-27 09:43:59 +00:00
Stu Grossman
605fe2b1b0
Add -lbsd to XM_CLIBS so that we get the right version of setpgrp.
1991-11-25 20:33:19 +00:00
John Gilmore
7130224967
* m2-exp.y (MAX, MIN): Rename to MAX_FUNC, MIN_FUNC to avoid
...
conflicts with system header files.
1991-11-23 05:26:22 +00:00
John Gilmore
378d8e737c
Add some error checking around ioctl's for terminal switching.
1991-11-23 05:22:34 +00:00
John Gilmore
b68da3b817
No need to offset args from frame pointer.
1991-11-23 01:15:11 +00:00
John Gilmore
2dd074f421
VERSION 4.2.95
1991-11-22 22:50:28 +00:00
John Gilmore
2b61280ae6
Further cleanup for release.
1991-11-22 22:49:08 +00:00
John Gilmore
2fd5584884
Add warning and compiler override.
1991-11-22 22:48:20 +00:00
John Gilmore
3ae444f844
SCO lint.
1991-11-22 20:44:50 +00:00
John Gilmore
1a5a8f2a3e
CLeanups to compile, mostly on BSD (okeeffe) and sco (kithrup).
1991-11-22 19:30:03 +00:00
John Gilmore
8013e17047
Lint
1991-11-22 16:28:05 +00:00
John Gilmore
3cb0d72dbf
Roll new files into various lists.
1991-11-22 07:49:53 +00:00
John Gilmore
2e8521a929
Roll VERSION to 4.2.90.
1991-11-22 03:36:23 +00:00
Fred Fish
4cfd3c4990
Initialize the c++ specific portion of the type structure for union types
...
as well as struct types, since gdb attempts to reference that portion for
both types. Was getting core dumps due to NULL pointer dereferencing.
1991-11-22 02:30:34 +00:00
John Gilmore
f7402c04fa
* main.c: Use getcwd rather than getwd.
...
* standalone.c: Fake getcwd rather than getwd.
* xm-*.h: Remove fake values of MAXPATHLEN.
1991-11-22 01:29:29 +00:00
Stu Grossman
7b554a2875
hsuser.texinfo -> inc-hist.texi.
1991-11-22 00:36:55 +00:00
Stu Grossman
e9d98c95a5
Refer to new locations for readline doc.
1991-11-22 00:24:23 +00:00
John Gilmore
76b28d05a2
Add /* */ to #if 0'd thing to help ANSI.
1991-11-21 22:08:25 +00:00
John Gilmore
21f62bbd30
Remove more refs to removed files.
1991-11-21 21:15:57 +00:00
John Gilmore
3db0634cec
* exec.c (exec_files_info): If `verbose' is set, show file offset as well.
1991-11-21 19:59:09 +00:00
John Gilmore
2eba358f6b
Update for new files and changed include files.
1991-11-21 19:26:37 +00:00