binutils-gdb.git
32 years ago* breakpoint.c (commands_command): Simplify code a bit, remove
Stu Grossman [Thu, 16 Jul 1992 23:22:57 +0000 (23:22 +0000)]
* breakpoint.c (commands_command):  Simplify code a bit, remove
unnecessary fflush().

32 years agoprogressive changes
K. Richard Pixley [Thu, 16 Jul 1992 23:09:11 +0000 (23:09 +0000)]
progressive changes

32 years agoadd libm
K. Richard Pixley [Thu, 16 Jul 1992 23:06:53 +0000 (23:06 +0000)]
add libm

32 years agoignore some stuff that comes from test-build.mk.
K. Richard Pixley [Thu, 16 Jul 1992 23:06:03 +0000 (23:06 +0000)]
ignore some stuff that comes from test-build.mk.

32 years agoremove some stray cvsmerge crud
K. Richard Pixley [Thu, 16 Jul 1992 23:05:20 +0000 (23:05 +0000)]
remove some stray cvsmerge crud

32 years ago* Makefile.in (OTHERS): Add gcc.patch.
Stu Grossman [Thu, 16 Jul 1992 20:40:36 +0000 (20:40 +0000)]
* Makefile.in (OTHERS):  Add gcc.patch.
* partial-stab.h (N_SO):  Fix handling of redundant SOs (again...)

32 years agoChange LCC_PRODUCER string to match current NCR lcc AT_producer. Update
Fred Fish [Thu, 16 Jul 1992 19:12:49 +0000 (19:12 +0000)]
Change LCC_PRODUCER string to match current NCR lcc AT_producer.  Update
energize-patches to work when configured with -srcdir=.

32 years ago* WHATS.NEW renamed to NEWS.
Stu Grossman [Thu, 16 Jul 1992 18:41:46 +0000 (18:41 +0000)]
* WHATS.NEW renamed to NEWS.

32 years ago * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too
Steve Chamberlain [Thu, 16 Jul 1992 15:24:23 +0000 (15:24 +0000)]
* objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too

32 years ago * write.c (fixup_segment): if relaxing, don't do anything.
Steve Chamberlain [Thu, 16 Jul 1992 15:22:26 +0000 (15:22 +0000)]
* write.c (fixup_segment): if relaxing, don't do anything.
* config/obj-bout.[ch] : maintain the a_relaxable file header info
* config/tc-i960.c: new option -linkrelax

32 years agoMore support for relaxing
Steve Chamberlain [Thu, 16 Jul 1992 15:14:11 +0000 (15:14 +0000)]
More support for relaxing

32 years ago * bfd-in.h : add BFD_IS_RELAXABLE flag
Steve Chamberlain [Thu, 16 Jul 1992 15:12:28 +0000 (15:12 +0000)]
* bfd-in.h : add BFD_IS_RELAXABLE flag
* bout.c (bout_swap_exec_header_[in_out]): new field in exec
header e_relaxable, major hackery in callbacks
* libaout.h : add space for a_relaxable.
* seclet.c (rel): don't relax empty sections

32 years agoFixup minor botch during hand editing of amix.mh patch.
Fred Fish [Wed, 15 Jul 1992 19:40:57 +0000 (19:40 +0000)]
Fixup minor botch during hand editing of amix.mh patch.

32 years ago * dbxread.c, dwarfread.c: Re-enable experimental code to
Fred Fish [Wed, 15 Jul 1992 19:33:21 +0000 (19:33 +0000)]
* dbxread.c, dwarfread.c:  Re-enable experimental code to
automatically select demangling style.
* demangle.c (DEFAULT_DEMANGLING_STYLE):  Rename from simply
DEMANGLING_STYLE, to make more descriptive.  Revert back to
"auto" as default.  Comment use.
* Makefile.in (DEMANGLING_STYLE, DEMANGLE_OPTS):  Remove.
* Makefile.in (${DEMANGLER}.o) Remove target and special
compilation rule.

32 years agoBack out the energize patches that were inadvertently included in my
Fred Fish [Wed, 15 Jul 1992 19:04:59 +0000 (19:04 +0000)]
Back out the energize patches that were inadvertently included in my
last check in.

32 years agoAdd #include <alloca.h> so bfd can be built with native compiler.
Michael Tiemann [Wed, 15 Jul 1992 16:06:03 +0000 (16:06 +0000)]
Add #include <alloca.h> so bfd can be built with native compiler.

32 years agoExtra lint
Steve Chamberlain [Wed, 15 Jul 1992 14:59:45 +0000 (14:59 +0000)]
Extra lint

32 years agoTo avoid confusion, start off post release development versions at 4.6.1,
Fred Fish [Wed, 15 Jul 1992 06:11:24 +0000 (06:11 +0000)]
To avoid confusion, start off post release development versions at 4.6.1,
so the only 4.6 gdb executables are those built from the actual 4.6 release.

32 years agoUpdate the diffs to Makefile.in.
Fred Fish [Wed, 15 Jul 1992 05:49:43 +0000 (05:49 +0000)]
Update the diffs to Makefile.in.
Modify amix.mh and ncr3000.mh diffs to be relative to config/

32 years ago* Makefile.in, demangle.c: Change default demangling style to
Stu Grossman [Wed, 15 Jul 1992 02:30:30 +0000 (02:30 +0000)]
* Makefile.in, demangle.c:  Change default demangling style to
gnu.
* Makefile.in:  Update version to 4.6 !!!
* README, WHATS.NEW:  Update for 4.6.

32 years ago* alldeps.mak, depend: Update.
Stu Grossman [Tue, 14 Jul 1992 23:04:58 +0000 (23:04 +0000)]
* alldeps.mak, depend:  Update.

32 years ago... and make it return the *right* value when it goes out of bounds.
Mark Eichin [Tue, 14 Jul 1992 22:47:46 +0000 (22:47 +0000)]
... and make it return the *right* value when it goes out of bounds.

32 years agoleave fencepost condition *completely* open-ended. Closes 1286.
Mark Eichin [Tue, 14 Jul 1992 22:33:02 +0000 (22:33 +0000)]
leave fencepost condition *completely* open-ended. Closes 1286.

32 years agoUse frame address if arg pointer isn't available.
Ken Raeburn [Tue, 14 Jul 1992 22:07:47 +0000 (22:07 +0000)]
Use frame address if arg pointer isn't available.

32 years agoDon't die on TYPE_CODE_UNDEF nodes as base classes.
Ken Raeburn [Tue, 14 Jul 1992 21:33:39 +0000 (21:33 +0000)]
Don't die on TYPE_CODE_UNDEF nodes as base classes.
(Previous checkin died due to cvs bug.)

32 years agoDon't crash on TYPE_CODE_UNDEF nodes as base classes (generated by
Ken Raeburn [Tue, 14 Jul 1992 21:22:05 +0000 (21:22 +0000)]
Don't crash on TYPE_CODE_UNDEF nodes as base classes (generated by
compiler bug?).

32 years ago* xcoffread.c: Add decl for section_offset to keep prototype happy.
Stu Grossman [Tue, 14 Jul 1992 21:11:54 +0000 (21:11 +0000)]
* xcoffread.c:  Add decl for section_offset to keep prototype happy.

32 years ago * ldlang.c (lang_map): print changes in sizes due to relaxing
Steve Chamberlain [Tue, 14 Jul 1992 15:39:31 +0000 (15:39 +0000)]
* 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

32 years agoAdd tm-hppa.h.
Stu Grossman [Tue, 14 Jul 1992 07:51:45 +0000 (07:51 +0000)]
Add tm-hppa.h.

32 years agoRemove -bnodelcsect from MH_CFLAGS to prevent gcc confusion.
Stu Grossman [Tue, 14 Jul 1992 07:43:34 +0000 (07:43 +0000)]
Remove -bnodelcsect from MH_CFLAGS to prevent gcc confusion.

32 years ago* Makefile.in (VERSION): 4.5.9.
Stu Grossman [Tue, 14 Jul 1992 07:37:03 +0000 (07:37 +0000)]
* Makefile.in (VERSION):  4.5.9.

32 years ago* xm-hp300bsd.h: Add decl for strdup().
Stu Grossman [Tue, 14 Jul 1992 07:35:48 +0000 (07:35 +0000)]
* 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.

32 years agoAdd solaris2.h.
Stu Grossman [Tue, 14 Jul 1992 07:21:29 +0000 (07:21 +0000)]
Add solaris2.h.

32 years agoAdd sco-core.c.
Stu Grossman [Tue, 14 Jul 1992 07:20:02 +0000 (07:20 +0000)]
Add sco-core.c.

32 years ago * config/ncr3000.mt (DEMANGLE_OPTS): Remove.
Fred Fish [Tue, 14 Jul 1992 02:13:37 +0000 (02:13 +0000)]
* config/ncr3000.mt (DEMANGLE_OPTS):  Remove.

32 years ago * Makefile.in (DEMANGLING_STYLE): New define to set default
Fred Fish [Tue, 14 Jul 1992 02:13:12 +0000 (02:13 +0000)]
* 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.

32 years ago(1) add disclaimer to config section of "Installing" appendix (this is
Roland Pesch [Tue, 14 Jul 1992 01:14:30 +0000 (01:14 +0000)]
(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.)

32 years ago * ldmain.c(main): prevent -r and -relax from being on at the same
Steve Chamberlain [Tue, 14 Jul 1992 01:00:31 +0000 (01:00 +0000)]
* ldmain.c(main): prevent -r and -relax from being on at the same
time.

32 years ago * expr.c (expr): allow SEG_BSS in expressions
Steve Chamberlain [Mon, 13 Jul 1992 21:32:05 +0000 (21:32 +0000)]
* 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

32 years agoLint
John Gilmore [Mon, 13 Jul 1992 11:59:22 +0000 (11:59 +0000)]
Lint

32 years ago* config/sun4sol2.mh: Remove -xs flag, default INSTALL to cp.
John Gilmore [Mon, 13 Jul 1992 10:36:39 +0000 (10:36 +0000)]
* config/sun4sol2.mh:  Remove -xs flag, default INSTALL to cp.

32 years ago* config/mt-{tahoe,vax}: Add, to match existing support files.
John Gilmore [Mon, 13 Jul 1992 02:54:30 +0000 (02:54 +0000)]
* config/mt-{tahoe,vax}:  Add, to match existing support files.
* config/tmake-*:  Remove leftover crud.

32 years ago* configure.in: Remove host section, expand target section.
John Gilmore [Mon, 13 Jul 1992 02:54:10 +0000 (02:54 +0000)]
* configure.in:  Remove host section, expand target section.

32 years agoOops
John Gilmore [Mon, 13 Jul 1992 02:25:32 +0000 (02:25 +0000)]
Oops

32 years ago * blurbs.c: New file, created from gprof.flat and gprof.callg by
John Gilmore [Mon, 13 Jul 1992 02:24:24 +0000 (02:24 +0000)]
* 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

32 years ago#define PSIGNAL_IN_SIGNAL_H.
Per Bothner [Sun, 12 Jul 1992 08:09:14 +0000 (08:09 +0000)]
#define PSIGNAL_IN_SIGNAL_H.

32 years agoFirst attempt at doc for general uses of quotes around symbols.
Roland Pesch [Sat, 11 Jul 1992 03:08:13 +0000 (03:08 +0000)]
First attempt at doc for general uses of quotes around symbols.

32 years ago(1) C and C++ treated as separate languages, not one as originally doc'd
Roland Pesch [Sat, 11 Jul 1992 02:12:00 +0000 (02:12 +0000)]
(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.

32 years ago * gdbtypes.c, gdbtypes.h: New function lookup_signed_typename.
Per Bothner [Fri, 10 Jul 1992 23:30:40 +0000 (23:30 +0000)]
* 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.

32 years agoStructural changes for Info file only (no effect on printed manual),
Roland Pesch [Fri, 10 Jul 1992 23:22:16 +0000 (23:22 +0000)]
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

32 years agochanges to support in-place builds
K. Richard Pixley [Fri, 10 Jul 1992 22:56:50 +0000 (22:56 +0000)]
changes to support in-place builds

32 years agoGNUmakefile now called test-build.mk
K. Richard Pixley [Fri, 10 Jul 1992 21:54:44 +0000 (21:54 +0000)]
GNUmakefile now called test-build.mk

32 years agoNew title "Debugging with GDB", the fruit of protracted delicate
Roland Pesch [Fri, 10 Jul 1992 21:53:44 +0000 (21:53 +0000)]
New title "Debugging with GDB", the fruit of protracted delicate
negotiations with the FSF...

32 years agocorrected for devo
K. Richard Pixley [Fri, 10 Jul 1992 21:29:16 +0000 (21:29 +0000)]
corrected for devo

32 years agocopied from progressive
K. Richard Pixley [Fri, 10 Jul 1992 21:24:19 +0000 (21:24 +0000)]
copied from progressive

32 years agoSupport -program_suffix (and make -program_prefix actually work).
David Henkel-Wallace [Fri, 10 Jul 1992 18:37:35 +0000 (18:37 +0000)]
Support -program_suffix (and make -program_prefix actually work).

32 years ago * command.c (lookup_cmd_1): Clarify descriptive comments.
Fred Fish [Fri, 10 Jul 1992 17:22:35 +0000 (17:22 +0000)]
* 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.

32 years agoVarious fixes to improve C++ debugging. See ChangeLog.
Per Bothner [Fri, 10 Jul 1992 03:56:17 +0000 (03:56 +0000)]
Various fixes to improve C++ debugging.  See ChangeLog.

32 years agoprint symbolic version of addresses as well as hex
Ken Raeburn [Fri, 10 Jul 1992 00:33:05 +0000 (00:33 +0000)]
print symbolic version of addresses as well as hex

32 years agoIf at first the network screws you over, try, try again...
Ken Raeburn [Fri, 10 Jul 1992 00:07:40 +0000 (00:07 +0000)]
If at first the network screws you over, try, try again...

32 years agoFixed some bugs in handling vxworks960 -- not reading registers right,
Ken Raeburn [Thu, 9 Jul 1992 23:54:02 +0000 (23:54 +0000)]
Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.

32 years agoFixed some bugs in handling vxworks960 -- not reading registers right,
Ken Raeburn [Thu, 9 Jul 1992 23:48:29 +0000 (23:48 +0000)]
Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.

32 years agoFixed some bugs in handling vxworks960 -- not reading registers right,
Ken Raeburn [Thu, 9 Jul 1992 23:40:01 +0000 (23:40 +0000)]
Fixed some bugs in handling vxworks960 -- not reading registers right,
trying to use FP regs (not supported by target), botching IP.

32 years ago(Finally) doc that GDB sometimes inserts quotes for you, on overloaded
Roland Pesch [Thu, 9 Jul 1992 20:40:39 +0000 (20:40 +0000)]
(Finally) doc that GDB sometimes inserts quotes for you, on overloaded
symbol completion requests.

32 years agoMinor changes to make these work with bison again.
Michael Tiemann [Thu, 9 Jul 1992 11:47:50 +0000 (11:47 +0000)]
Minor changes to make these work with bison again.

32 years agoOnly treat "class" as a token if the current language is C++.
Fred Fish [Thu, 9 Jul 1992 07:15:11 +0000 (07:15 +0000)]
Only treat "class" as a token if the current language is C++.

32 years agoadded prms
Heinz G. Seidl [Thu, 9 Jul 1992 06:21:03 +0000 (06:21 +0000)]
added prms

32 years ago * dwarfread.c (alloc_utype, decode_subscr_data): Call alloc_type
Fred Fish [Thu, 9 Jul 1992 04:40:39 +0000 (04:40 +0000)]
* 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.

32 years ago* Makefile.in (VERSION): Update to 4.5.8.
Stu Grossman [Thu, 9 Jul 1992 00:24:24 +0000 (00:24 +0000)]
* Makefile.in (VERSION):  Update to 4.5.8.

32 years ago * archive.c (bsd_write_armap): write the timestamp of the
Steve Chamberlain [Wed, 8 Jul 1992 23:28:21 +0000 (23:28 +0000)]
* 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.

32 years agoRemove tm-es1800.h and remote-es1800.c from distribution files until
Fred Fish [Wed, 8 Jul 1992 13:44:31 +0000 (13:44 +0000)]
Remove tm-es1800.h and remote-es1800.c from distribution files until
copyright assignment with Ericsson is completed.

32 years ago* dbxread.c (dbx_symfile_init): Init stab_section_info to NULL to
Stu Grossman [Wed, 8 Jul 1992 08:00:30 +0000 (08:00 +0000)]
* 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.

32 years ago* config/mh-solaris: Use -xs when compiling so that Sun-C puts
Stu Grossman [Wed, 8 Jul 1992 07:04:02 +0000 (07:04 +0000)]
* config/mh-solaris:  Use -xs when compiling so that Sun-C puts
a symbol-table into the executable.

32 years agoget the CROSS macro into gcc's flags
K. Richard Pixley [Tue, 7 Jul 1992 21:48:41 +0000 (21:48 +0000)]
get the CROSS macro into gcc's flags

32 years agoTired of watching byacc be sanitized out. :)
Sean Eric Fagan [Tue, 7 Jul 1992 19:47:28 +0000 (19:47 +0000)]
Tired of watching byacc be sanitized out. :)

32 years ago * maint.c (maintenance_command, maintenance_info_command):
Fred Fish [Tue, 7 Jul 1992 16:00:30 +0000 (16:00 +0000)]
* maint.c (maintenance_command, maintenance_info_command):
Install with allow_unknown as 0 and call help_list to show
list of possibilities when no subcommand is specified.

32 years ago * config.sub: Add es1800 (m68k-ericsson-es1800).
Fred Fish [Tue, 7 Jul 1992 07:25:41 +0000 (07:25 +0000)]
* config.sub:  Add es1800 (m68k-ericsson-es1800).

32 years ago * configure.in: Add m68k-ericsson-*.
Fred Fish [Tue, 7 Jul 1992 07:24:25 +0000 (07:24 +0000)]
* configure.in: Add m68k-ericsson-*.

32 years ago * configure.in: Add m68k-ericsson-*.
Fred Fish [Tue, 7 Jul 1992 07:22:56 +0000 (07:22 +0000)]
* configure.in:  Add m68k-ericsson-*.
* remote-es1800.c, tm-es1800.h, config/es1800.mt:  New files.

32 years ago*** empty log message ***
Steve Chamberlain [Tue, 7 Jul 1992 00:11:55 +0000 (00:11 +0000)]
*** empty log message ***

32 years agoupdated to July 1
K. Richard Pixley [Mon, 6 Jul 1992 23:25:46 +0000 (23:25 +0000)]
updated to July 1

32 years agoAdd gdb-stabs.h to list of files to keep.
Fred Fish [Mon, 6 Jul 1992 02:38:03 +0000 (02:38 +0000)]
Add gdb-stabs.h to list of files to keep.

32 years ago * maint.c: New file.
Fred Fish [Mon, 6 Jul 1992 00:22:57 +0000 (00:22 +0000)]
* maint.c:  New file.
* Makefile.in (SFILES_MAINDIR):  Add new file maint.c.
* Makefile.in (OBS):  Add new file maint.o.
* defs.h (command_class):  Add class_maintenance.
* defs.h (MAINTENANCE_CMDS):  Default to including maintenance
commands.  Allow for them (and other nonessential parts of gdb)
to be selectively left out under special circumstances.
* gdbtypes.c (recursive_dump_type):  New function; supports
maintenance print-type command.
* gdbtypes.h (recursive_dump_type, maintenance_print_type):
Add prototypes.
* main.c (maintenancelist, maintenanceinfolist):  Add maintenance
command lists.
* main.c (initialize_cmd_lists):  Eliminate unnecessary casts on
initializers.  Add initializations for setprintlist, showprintlist,
setchecklist, showchecklist, maintenancelist, and maintenanceinfolist.
* printcmd.c (maintenance_print_type):  New maintenance cmd.
* valprint.c (setprintlist, showprintlist):  Move to main.c, as
implied by comment that all cmd lists are owned by main.c.
* infcmd.c (unsetlist):  Move to main.c, as implied by comment
that all cmd lists are owned by main.c.
* language.c (setchecklist, showchecklist):  Move to main.c, as
implied by comment that all cmd lists are owned by main.c
* breakpoint.c (enablelist, enablebreaklist, disablelist, cmdlist,
deletelist):  Remove redundant declarations (also in gdbcmd.h).
* symmisc.c (printsyms_command):  Now maintenance_print_symbols.
* symmisc.c (printmsyms_command):  Now maintenance_print_msymbols.
* symmisc.c (printpsyms_command):  Now maintenance_print_psymbols.
* symmisc.c (printobjfiles_command):  Now maintenance_print_objfiles.
* symtab.h (maintenance_print_symbols, maintenance_print_psymbols,
maintenance_print_msymbols, maintenance_print_objfiles):
Add prototypes.
* symmisc.c (printsyms_command, printpsyms_command,
printmsyms_command, printobjfiles_command):  Removed from
_initialize_symmisc.
* main.c (dump_me_command):  Moved to maint.c and renamed to
maintenance_dump_me.
* breakpoint.c (all_breakpoints_info):  Rename to
maintenance_info_breakpoints.
* breakpoint.c (_initialize_breakpoint):  Convert add_info of
all_breakpoints_info to add maintenance_info_breakpoints to the
maintenanceinfolist instead.
main.c (initialize_main):  Set up maintenance class commands.

32 years ago* energize-patches: Fix minor problems with building energize lib.
Stu Grossman [Sun, 5 Jul 1992 19:09:38 +0000 (19:09 +0000)]
* energize-patches:  Fix minor problems with building energize lib.
(Also all energize.h to .Sanitize).

32 years ago* energize-patches: Change names of all cadillac procedure calls
Stu Grossman [Sun, 5 Jul 1992 18:07:52 +0000 (18:07 +0000)]
* energize-patches:  Change names of all cadillac procedure calls
to be energize procedure calls.  Simplify many hooks by moving
tests energize.c.  Configure energize, and build it automatically now.

32 years ago * Makefile.in (VERSION): Bump to 4.5.7.
Fred Fish [Sun, 5 Jul 1992 17:21:13 +0000 (17:21 +0000)]
* Makefile.in (VERSION):  Bump to 4.5.7.
* cplus-dem.c (demangle_args):  Validate index for previously
seen type to guard against bogus values from malformed manglings.
* valops.c (value_struct_elt_for_reference):  Guard against
blindly using NULL return value from lookup_symbol.

32 years ago* cadillac.c, cadillac-patches: Rename to energize.c and
Stu Grossman [Sun, 5 Jul 1992 17:07:54 +0000 (17:07 +0000)]
* cadillac.c, cadillac-patches:  Rename to energize.c and
energize-patches.  Change all routines and variables named
'cadillac*' to 'energize*'.  Create new file called energize.h to
hold all interface declarations.

* deblib/connection/*:  Move all of this stuff into energize/, but
delete unneeded files.

32 years ago* cadillac.c, cadillac-patches: Rename to energize.c and
Stu Grossman [Sun, 5 Jul 1992 17:06:47 +0000 (17:06 +0000)]
* cadillac.c, cadillac-patches:  Rename to energize.c and
energize-patches.  Change all routines and variables named
'cadillac*' to 'energize*'.  Create new file called energize.h to
hold all interface declarations.

32 years agoTypo
John Gilmore [Sun, 5 Jul 1992 11:54:06 +0000 (11:54 +0000)]
Typo

32 years agoSVR4 names don't have underscores, according to the ABI.
John Gilmore [Sun, 5 Jul 1992 11:29:16 +0000 (11:29 +0000)]
SVR4 names don't have underscores, according to the ABI.

32 years ago* buildsym.c (finish_block): Fix thinko `inner block' complaints.
John Gilmore [Sun, 5 Jul 1992 10:26:53 +0000 (10:26 +0000)]
* buildsym.c (finish_block):  Fix thinko `inner block' complaints.
* dbxread.c (process_one_symbol):  Parse N_OPT "gcc2_compiled.".
* procfs.c (proc_set_exec_trap): Set run-on-last-close flag on
child processes, to avoid dead ones "hanging around" after GDB exits.
(attach): Always stop the process if it needs it.  Set RLC flag
when attaching running processes, so it will continue if we detach
it, quit, or are killed.
(detach):  Clear faults and set RLC flag to make process run
when we close it.
(open_proc_file):  New `mode' argument for O_RDONLY or O_RDWR.
Callers changed.
(info_proc):  Open process O_RDONLY, so we can see any process,
even those controlled by debuggers.
* tm-sun4sol2.h (SUN_FIXED_LBRAC_BUG):  They did (in Sol 2).

32 years agoSince sconix is treated as an OS (as opposed to vendor), we need to
Sean Eric Fagan [Sat, 4 Jul 1992 21:47:03 +0000 (21:47 +0000)]
Since sconix is treated as an OS (as opposed to vendor), we need to
explicitly check for it.

32 years agoDon't really want <sys/file.h> on a SysV system, and need to make sure
Sean Eric Fagan [Sat, 4 Jul 1992 21:45:42 +0000 (21:45 +0000)]
Don't really want <sys/file.h> on a SysV system, and need to make sure
a couple of necessary defines are done.

32 years agoRelocate symbols using an array of section_offsets, rather than a
John Gilmore [Sat, 4 Jul 1992 21:03:34 +0000 (21:03 +0000)]
Relocate symbols using an array of section_offsets, rather than a
single `addr' or `offset'.  This makes Solaris-2 support work, and
permits better VxWorks (and maybe xcoff) support later.

* dbxread.c:  Conforming changes.
(struct dbx_symfile_info):  Move to gdb-stabs.h.
(start_psymtab):  Call elfstab_offset_sections to calculate good
offsets for this source file, based on the ELF symbol table info.
(read_ofile_symtab):  Yank N_CATCH, which is dead.
(process_one_symbol, N_CATCH):  Yank.
(", N_FUN, N_FNAME, N_FN, N_FN_SEQ, N_SO, N_SOL, N_ENTRY):
Relocate with SECT_OFF_TEXT.
(", N_STSYM, N_LCSYM, N_ROSYM):  Grope around in the stab string
to distinguish relocatable from absolute symbols.  Then, if not
absolute, do:
(", N_STSYM, N_DSLINE):  SECT_OFF_DATA.
(", N_LCSYM, N_BSLINE):  SECT_OFF_BSS.
(", N_ROSYM):  SECT_OFF_RODATA.
(elfstab_build_psymtabs):  Caller has allocated dbx_symfile_info.
(dbx_symfile_offsets):  Add to translate addr to offset.

32 years ago> * xm-rs6000.h: define MEM_FNS_DECLARED
David D. Zuhn [Sat, 4 Jul 1992 14:17:13 +0000 (14:17 +0000)]
>       * xm-rs6000.h: define MEM_FNS_DECLARED

32 years agoRelocate symbols using an array of section_offsets, rather than a
John Gilmore [Sat, 4 Jul 1992 13:59:03 +0000 (13:59 +0000)]
Relocate symbols using an array of section_offsets, rather than a
single `addr' or `offset'.  This makes Solaris-2 support work, and
permits better VxWorks (and maybe xcoff) support later.  See ChangeLog.

32 years agoTidy innerblock_complaint and blockvector_complaint.
John Gilmore [Sat, 4 Jul 1992 12:23:23 +0000 (12:23 +0000)]
Tidy innerblock_complaint and blockvector_complaint.

32 years ago* main.c (main): Read the $HOME/.gdbinit file before processing
John Gilmore [Sat, 4 Jul 1992 12:21:01 +0000 (12:21 +0000)]
* main.c (main):  Read the $HOME/.gdbinit file before processing
the argv arguments (e.g. reading symbol files or core
files).  This allows global parameters to be set, which will apply
during the symbol reading.  The ./.gdbinit is still read after
argv processing.
* symtab.c (list_symbols):  `i variables' shouldn't show enum values.

32 years agoRegen after bfd/syms.c change: BSF_FILE.
John Gilmore [Sat, 4 Jul 1992 10:41:16 +0000 (10:41 +0000)]
Regen after bfd/syms.c change: BSF_FILE.

32 years ago* syms.h: Define BSF_FILE, update BSF_SECTION_SYM desc.
John Gilmore [Sat, 4 Jul 1992 10:38:33 +0000 (10:38 +0000)]
* syms.h:  Define BSF_FILE, update BSF_SECTION_SYM desc.
* elf.c:  Remove unconditional debug printf's.
(elf_write_object_contents, elf_slurp_symbol_table):  Handle
BSF_SECTION_SYM <=> STT_SECTION, BSF_FILE <=> STT_FILE.
(elf_slurp_symbol_table):  Hand out symbols in forward, not
reverse order.  Simplify duplicate code.