Commit Graph

3267 Commits

Author SHA1 Message Date
Ken Raeburn
7b8ca0a03f Use frame address if arg pointer isn't available. 1992-07-14 22:07:47 +00:00
Ken Raeburn
23c156a2ad Don't die on TYPE_CODE_UNDEF nodes as base classes.
(Previous checkin died due to cvs bug.)
1992-07-14 21:33:39 +00:00
Ken Raeburn
7e94a17bcd Don't crash on TYPE_CODE_UNDEF nodes as base classes (generated by
compiler bug?).
1992-07-14 21:22:05 +00:00
Stu Grossman
930acbe575 * xcoffread.c: Add decl for section_offset to keep prototype happy. 1992-07-14 21:11:54 +00:00
Steve Chamberlain
67cddd9faf * ldlang.c (lang_map): print changes in sizes due to relaxing
(size_input_section): maintain the delta information.
	* ldlang.h: add new field to struct to contain delta info.
	* relax.c  (relax_section): complain if input not relaxable.
	* ldlex.l : add '_', ',' and '$' to chars which can appear at the
	start of a filename
1992-07-14 15:39:31 +00:00
Stu Grossman
1acf6627e4 Add tm-hppa.h. 1992-07-14 07:51:45 +00:00
Stu Grossman
15da025b50 Remove -bnodelcsect from MH_CFLAGS to prevent gcc confusion. 1992-07-14 07:43:34 +00:00
Stu Grossman
67ba524fe0 * Makefile.in (VERSION): 4.5.9. 1992-07-14 07:37:03 +00:00
Stu Grossman
efcc6e0653 * xm-hp300bsd.h: Add decl for strdup().
* mips-tdep.c (heuristic_proc_desc):  Fill in proc start addr in
PDR.  Cleanup a few things, fix compilation warnings.
1992-07-14 07:35:48 +00:00
Stu Grossman
b0e15d3364 Add solaris2.h. 1992-07-14 07:21:29 +00:00
Stu Grossman
42c39b6952 Add sco-core.c. 1992-07-14 07:20:02 +00:00
Fred Fish
45bf7246c8 * config/ncr3000.mt (DEMANGLE_OPTS): Remove. 1992-07-14 02:13:37 +00:00
Fred Fish
2dbde378c4 * Makefile.in (DEMANGLING_STYLE): New define to set default
demangling style for C++.  Defaults to "auto".
	* Makefile.in (DEMANGLE_OPTS):  Use DEMANGLING_STYLE.
	* Makefile.in (SFILES_MAINDIR):  Add demangle.c
	* Makefile.in (OBS):  Add demangle.o
	* cplus-dem.c (GNU_DEMANGLING, ARM_DEMANGLING, LUCID_DEMANGLING):
	Remove compile time decisions about demangling style and replace
	with runtime decisions using current_demangling_style.
	* cplus-dem.c (main):  Expand code included during building of
	standalone demangler to recognize demangling style options.
	* dbxread.c (demangle.h):  Include.
	* dbxread.c (read_ofile_symtab, process_one_symbol):  Set GNU C++
	demangling style if processing g++ code and current demangling style
	is auto (Note: this feature currently disabled.)
	* demangle.c:  New file, generic demangling control.
	* demangle.h (demangling_styles):  New enumeration to select one
	of several demangling styles.  Also define string names for each
	style.
	* demangle.h (set_demangling_style):  Add prototype.
	* dwarfread.c (demangle.h):  Include.
	* dwarfread.c (GPLUS_PRODUCER, LCC_PRODUCER, CFRONT_PRODUCER):
	New producer string prefixes to recognize.
	* dwarfread.c (handle_producer):  Consolidate actions for specific
	producers.  Set demangling style based on producer string if
	current style is auto.  (Note: this feature currently disabled.)
	* config/ncr3000.mt (DEMANGLE_OPTS):  Remove.
1992-07-14 02:13:12 +00:00
Roland Pesch
d48da190b5 (1) add disclaimer to config section of "Installing" appendix (this is
NOT full config doc) and xref to configure.info

(2) add brief mention of --help and --prefix=DIR configure options

(3) re-enable, with new command names, old doc for commands now
reorganized into maint.  (NO new doc yet for new maint commands or for
old undoc'd dump-me; nor for "maint" itself in general.)
1992-07-14 01:14:30 +00:00
Steve Chamberlain
f7c7689713 * ldmain.c(main): prevent -r and -relax from being on at the same
time.
1992-07-14 01:00:31 +00:00
Steve Chamberlain
a933d598b6 * expr.c (expr): allow SEG_BSS in expressions
* read.c (potable): align should be nbytes, not ptwo!
	* write.c (write_object_file): extra glue for new bss attributes
	(relax_segment): SEG_BSS is ok now
	* config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
1992-07-13 21:32:05 +00:00
John Gilmore
028fe6367a Lint 1992-07-13 11:59:22 +00:00
John Gilmore
49f3be18e1 * config/sun4sol2.mh: Remove -xs flag, default INSTALL to cp. 1992-07-13 10:36:39 +00:00
John Gilmore
8e2d760b76 * config/mt-{tahoe,vax}: Add, to match existing support files.
* config/tmake-*:  Remove leftover crud.
1992-07-13 02:54:30 +00:00
John Gilmore
5d32c9524e * configure.in: Remove host section, expand target section. 1992-07-13 02:54:10 +00:00
John Gilmore
a4ea327414 Oops 1992-07-13 02:25:32 +00:00
John Gilmore
9388476b43 * blurbs.c: New file, created from gprof.flat and gprof.callg by
* make-c-prog.awk:  which processes text files into C programs.
	* printgprof.c (flatprofheader, gprofheader):  Call new functions
	to print blurbs.
	(printblurb):  Remove.
	* Makefile.in:  Infrastructure to build blurbs.
	* pathnames.h:  has been removed.  Gprof now has no filename
	dependencies in it.
	* gprof.c:  Lint.

Sat Jul 11 18:07:21 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)

	* Makefile.in: define man1dir and install the man page

Fri Jul 10 21:14:08 1992  david d `zoo' zuhn (zoo@cygnus.com)

	* Makefile.in: added dummy info and install-info targets
1992-07-13 02:24:24 +00:00
Per Bothner
f8f1415a4a #define PSIGNAL_IN_SIGNAL_H. 1992-07-12 08:09:14 +00:00
Roland Pesch
6c380b13e6 First attempt at doc for general uses of quotes around symbols. 1992-07-11 03:08:13 +00:00
Roland Pesch
5a2c1d8583 (1) C and C++ treated as separate languages, not one as originally doc'd
(2) [temporarily, until "maint" details avail] hide explanations of commands
moved to "maint" so we don't risk releasing doc with obsolete names:
printsyms, printmsyms, printpsyms, info all-breakpoints.
1992-07-11 02:12:00 +00:00
Per Bothner
a252e71520 * gdbtypes.c, gdbtypes.h: New function lookup_signed_typename.
* c-exp.y:  Call lookup_signed_typename() after seeing
	"signed".  This handles "signed char" correctly.
	* c-exp.y:  Recognize (but ignore) 'const' and 'volatile'
	keywords before a type specifier.
1992-07-10 23:30:40 +00:00
Roland Pesch
8b2c227584 Structural changes for Info file only (no effect on printed manual),
mostly thanks to Gumby suggestions:

  1: move copyright/copying explanation up before top node as usual for
     info files
  2: coalesce main menu and descriptive list of binutils
  3: point directly into separate ld info file from binutils main menu
1992-07-10 23:22:16 +00:00
K. Richard Pixley
7bea91489e changes to support in-place builds 1992-07-10 22:56:50 +00:00
K. Richard Pixley
0986bf1bd9 GNUmakefile now called test-build.mk 1992-07-10 21:54:44 +00:00
Roland Pesch
a6463583c2 New title "Debugging with GDB", the fruit of protracted delicate
negotiations with the FSF...
1992-07-10 21:53:44 +00:00
K. Richard Pixley
8b510607de corrected for devo 1992-07-10 21:29:16 +00:00
K. Richard Pixley
c12d9b4c66 copied from progressive 1992-07-10 21:24:19 +00:00
David Henkel-Wallace
0b0b5dbac1 Support -program_suffix (and make -program_prefix actually work). 1992-07-10 18:37:35 +00:00
Fred Fish
311592ff50 * command.c (lookup_cmd_1): Clarify descriptive comments.
* gdbcmd.h (maintenanceprintlist):  Add declaration.
	* main.c (maintenanceprintlist):  Add definition.
	* main.c (gdb_completer_command_word_break_characters):  Add.
	* main.c (symbol_completion_function):  Switch completer word
	break character sets dynamically, based on whether completion is
	being done on commands or on something else.
	* main.c (initialize_cmd_lists):  Init maintenanceprintlist.
	* maint.c:  Include demangle.h.
	* maint.c (maintenance_demangle):  New function.
	* maint.c (maintenance_print_command):  New function.
	* maint.c (_initialize_maint_cmds):  Reorganize some commands
	under new maintenance print subcommand.
1992-07-10 17:22:35 +00:00
Per Bothner
5c5b5d4b0e Various fixes to improve C++ debugging. See ChangeLog. 1992-07-10 03:56:17 +00:00
Ken Raeburn
7eec00ed56 print symbolic version of addresses as well as hex 1992-07-10 00:33:05 +00:00
Ken Raeburn
afc5505f00 If at first the network screws you over, try, try again... 1992-07-10 00:07:40 +00:00
Ken Raeburn
41ea717598 Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.
1992-07-09 23:54:02 +00:00
Ken Raeburn
c5f5b482da Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.
1992-07-09 23:48:29 +00:00
Ken Raeburn
96441872a3 Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.
1992-07-09 23:40:01 +00:00
Roland Pesch
0fdc6e2717 (Finally) doc that GDB sometimes inserts quotes for you, on overloaded
symbol completion requests.
1992-07-09 20:40:39 +00:00
Michael Tiemann
368c8614bc Minor changes to make these work with bison again. 1992-07-09 11:47:50 +00:00
Fred Fish
866ecded64 Only treat "class" as a token if the current language is C++. 1992-07-09 07:15:11 +00:00
Heinz G. Seidl
d42563daf7 added prms 1992-07-09 06:21:03 +00:00
Fred Fish
8050a57b2c * dwarfread.c (alloc_utype, decode_subscr_data): Call alloc_type
to create new blank types, instead of handcrafting them.
	* defs.h (printfi_filtered):  Add prototype.
	* utils.c (printfi_filtered):  New function.
	* gdbtypes.c (recursive_dump_type):  Use printfi_filtered to
	to simplify the code.  Other cleanups.
	* gdbtypes.c (check_stub_method):  Demangle using DMGL_ANSI.
	* gdbtypes.h (struct cplus_struct_type):  Add comments describing
	use of various fields.
	* gdbtypes.c (print_bit_vector, print_cplus_stuff):  New functions.
	* c-exp.y (%token):  Add CLASS as a token for C++, add grammar
	production that currently treats it exactly the same as STRUCT.
	* c-exp.y (yylex):  Recognize "class" as token CLASS.
	* symtab.c (gdb_mangle_name):  Rewrite to match current g++ stabs.
	* symtab.c (decode_line_1):  Fix to pass quoted args on down to
	general symbol handling code.  Call cplus_mangle_opname with
	DMGL_ANSI.
	* symtab.c (decode_line_2):  Print demangled function names in
	breakpoint menus, instead of just file and line number.
	* symtab.c (name_match):  Call cplus_demangle with DMGL_ANSI.
	* valprint.c (type_print_base):  Print "class" for C++ classes,
	rather than "struct".  Print section labels for public, protected
	and private members of C++ classes.
	* values.c:  Include demangle.h.
	* values.c (value_headof):  Call cplus_demangle with DMGL_ANSI.
1992-07-09 04:40:39 +00:00
Stu Grossman
e17e8e0e03 * Makefile.in (VERSION): Update to 4.5.8. 1992-07-09 00:24:24 +00:00
Steve Chamberlain
f6681656c1 * archive.c (bsd_write_armap): write the timestamp of the
archive header to be just a little bit later than the timestamp of
	the file, otherwise the linker will complain that the index is
	out of date.
1992-07-08 23:28:21 +00:00
Fred Fish
823884e18c Remove tm-es1800.h and remote-es1800.c from distribution files until
copyright assignment with Ericsson is completed.
1992-07-08 13:44:31 +00:00
Stu Grossman
784fd92b3d * dbxread.c (dbx_symfile_init): Init stab_section_info to NULL to
prevent crashes when examining cross-targets.
* dbxread.c (process_one_symbol):  Include directory name when
calling start_subfile for SOL & BINCL symbols.  This allows gdb to
find include files, and yacc/lex sources when the cwd doesn't match
that in which the object was compiled.
* objfiles.h (ALL_MSYMBOLS):  Don't seg fault when there are no
msymbols.
* symtab.c (lookup_symtab_1):  Rewrite.  It now handles include
files.
1992-07-08 08:00:30 +00:00
Stu Grossman
179798e1e0 * config/mh-solaris: Use -xs when compiling so that Sun-C puts
a symbol-table into the executable.
1992-07-08 07:04:02 +00:00