binutils-gdb.git
32 years ago * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,
Fred Fish [Mon, 29 Jun 1992 23:34:38 +0000 (23:34 +0000)]
* dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,
symtab.h, tm-i386v4.h, valprint.c, values.c:  Lint.
* breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c,
findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c,
putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h,
utils.c, valarith.c, valops.c, valprint.c, values.c:
Replace bcopy() use with memcpy(), which is more standard and can
take advantage of gcc's builtin functions for increased performance.
* breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c,
ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h,
target.c, values.c:
Replace bzero() use with memset(), which is more standard and can
take advantage of gcc's builtin functions for increased performance.
* i386-tdep.c, main.c, valprint.c:
Replace bcmp() use with memcmp(), which is more standard and can
take advantage of gcc's builtin functions for increased performance.

32 years ago * remote.c (remote_wait): Fix cast on signal() call.
Fred Fish [Sun, 28 Jun 1992 20:31:11 +0000 (20:31 +0000)]
* remote.c (remote_wait):  Fix cast on signal() call.
* defs.h (alloca):  More diddling with alloca.  Have to ensure
that it has a prototype, so that if alloca is defined as a macro
that takes an arg, the definition is seen as a use of a macro
that takes an arg, to satisfy picky ANSI preprocessors.

32 years ago * h8300.h: Finish filling in all the holes in the opcode table,
Fred Fish [Sun, 28 Jun 1992 20:30:01 +0000 (20:30 +0000)]
* h8300.h:  Finish filling in all the holes in the opcode table,
so that the Lucid C compiler can digest this as well...

32 years agoUpdate Cadillac patch kit.
Fred Fish [Sat, 27 Jun 1992 19:41:24 +0000 (19:41 +0000)]
Update Cadillac patch kit.

32 years ago * sparc-pinsn.c: Use <string.h> rather than "string.h", for
Fred Fish [Sat, 27 Jun 1992 19:16:47 +0000 (19:16 +0000)]
* sparc-pinsn.c:  Use <string.h> rather than "string.h", for
consistency with all other gdb files.
* cadillac.c:  Use <string.h> rather than <strings.h>.
* cadillac.c (kernel_dispatch):  Convert rindex usage to strrchr.
* Makefile.in (MAKE):  Remove definition for consistency with
other Makefile.in files and to fix problem with recursive makes.

32 years agoUse tabs to indent comments, so they line up.
John Gilmore [Sat, 27 Jun 1992 05:01:14 +0000 (05:01 +0000)]
Use tabs to indent comments, so they line up.

32 years ago* i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases.
John Gilmore [Sat, 27 Jun 1992 04:56:08 +0000 (04:56 +0000)]
* i386.h:  Add setc, setnc, addr16, data16, repz, repnz aliases.
Fix opcodes on various sizes of fild/fist instructions
(16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix).
Fixes suggested by Minh Tran-Le.

32 years ago(1) corrections to command-line completion material
Roland Pesch [Sat, 27 Jun 1992 03:53:10 +0000 (03:53 +0000)]
(1) corrections to command-line completion material
    (more text on quotes still needed)
(2) warning re problems in coff

32 years agoAvoid PT_WDUSER because it crashes H-PUX.
John Gilmore [Sat, 27 Jun 1992 02:28:05 +0000 (02:28 +0000)]
Avoid PT_WDUSER because it crashes H-PUX.

32 years agoInstall into the right place for cross
Steve Chamberlain [Fri, 26 Jun 1992 22:42:15 +0000 (22:42 +0000)]
Install into the right place for cross

32 years ago * source.c (print_source_lines): for DOS interoperability; don't
Steve Chamberlain [Fri, 26 Jun 1992 18:12:17 +0000 (18:12 +0000)]
* source.c (print_source_lines): for DOS interoperability; don't
print CR (013) as ^M.

32 years agoDefault dir_so_symnum to -10 to avoid even the slightest possibility of
Stu Grossman [Fri, 26 Jun 1992 03:55:28 +0000 (03:55 +0000)]
Default dir_so_symnum to -10 to avoid even the slightest possibility of
screwage.  This is a continuation of the redundant SO record fixup for the
Lucid C++ compiler.

32 years agoFixup PRSVADDR problem as per Johns suggestions.
Stu Grossman [Fri, 26 Jun 1992 03:49:00 +0000 (03:49 +0000)]
Fixup PRSVADDR problem as per Johns suggestions.

32 years ago* configure.in: Make bsd based systems use sysdep-obsd.h.
Stu Grossman [Thu, 25 Jun 1992 23:16:16 +0000 (23:16 +0000)]
* configure.in:  Make bsd based systems use sysdep-obsd.h.

32 years agoDeclare free() for hpux.
Stu Grossman [Thu, 25 Jun 1992 23:11:26 +0000 (23:11 +0000)]
Declare free() for hpux.

32 years ago* dbxread.c (dbx_symfile_init): Move more code under hp9000s800
Stu Grossman [Thu, 25 Jun 1992 23:02:57 +0000 (23:02 +0000)]
* dbxread.c (dbx_symfile_init):  Move more code under hp9000s800
conditional.
* hppabsd-core.c:  Don't include "param.h", include <sys/param.h>
instead.
* remote.c (remote_wait):  Cast signal to void * to avoid warning
from busted HP compiler.

32 years agoCatch up Cygnus-logo version of GDB refcard with last few changes to
Roland Pesch [Thu, 25 Jun 1992 22:58:28 +0000 (22:58 +0000)]
Catch up Cygnus-logo version of GDB refcard with last few changes to
FSF version:
  - threecol.tex now embedded, not separate file
  - folding guides
  - "gdb --help" recommended rather than "gdb -help"

32 years ago* partial-stab.h (N_SO): Rearrange code a little so that all SO
Stu Grossman [Thu, 25 Jun 1992 22:46:04 +0000 (22:46 +0000)]
* partial-stab.h (N_SO):  Rearrange code a little so that all SO
stabs cause end_psymtab to be called.

32 years ago* buildsym.c (read_sun_builtin_type): Handle new FCS Sun CC
Stu Grossman [Thu, 25 Jun 1992 22:35:09 +0000 (22:35 +0000)]
* buildsym.c (read_sun_builtin_type):  Handle new FCS Sun CC
compiler feature of putting 'c' into basic type descriptors for
all forms of char.

32 years ago* procfs.c (child_resume): Work around Solaris (on Sparc) lossage
Stu Grossman [Thu, 25 Jun 1992 22:22:40 +0000 (22:22 +0000)]
* procfs.c (child_resume):  Work around Solaris (on Sparc) lossage
where there is no place for nPC in prrun struct.

32 years ago * mipsread.c: Pass NULL name pointer to init_type, not 0.
Fred Fish [Thu, 25 Jun 1992 19:10:49 +0000 (19:10 +0000)]
* mipsread.c:  Pass NULL name pointer to init_type, not 0.
* gdbtypes.c (init_type):  Use copy of typename on type_obstack.
* dwarfread.c (enum_type):  Save enum names on type_obstack.
* dwarfread.c (struct_type):  Save member name on type_obstack.
* symtab.c (_initialize_symtab):  Fix misspelling.
* regex.c (store_jump, insert_jump):  Return void.

32 years agoLint. Remove excess whitespace.
John Gilmore [Thu, 25 Jun 1992 11:54:08 +0000 (11:54 +0000)]
Lint.  Remove excess whitespace.

32 years ago* defs.h (PARAMS): Move to ../include/ansidecl.h.
John Gilmore [Thu, 25 Jun 1992 11:50:31 +0000 (11:50 +0000)]
* defs.h (PARAMS):  Move to ../include/ansidecl.h.
(alloca):  Declare return type on SPARC, since Sun doesn't.
(*_BYTE_ORDER):  Improve comment:  *must* be defined.

32 years ago* hosts/solaris2.h: Configure same as sysv4.
John Gilmore [Thu, 25 Jun 1992 11:40:36 +0000 (11:40 +0000)]
* hosts/solaris2.h:  Configure same as sysv4.

32 years ago* tm-hppa.h: New file, architectural definition of HP PA.
John Gilmore [Thu, 25 Jun 1992 11:15:47 +0000 (11:15 +0000)]
* tm-hppa.h:  New file, architectural definition of HP PA.
* tm-hppabsd.h, tm-hppahpux.h:  Shrink to deltas from tm-hppa.h.

* am29k-pinsn.c, am29k-tdep.c, copying.awk, copying.c,
hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c,
hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, remote-udi.c,
ser-go32.c, xcoffsolib.c:  Remove <stdio.h> which is already in
"defs.h".

* hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c,
hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, xcoffsolib.c,
xcoffsolib.h, xm-go32.h, xm-hppabsd.h, xm-hppahpux.h:  Copyrights.

32 years ago* printcmd.c (output_command): Thinko.
John Gilmore [Thu, 25 Jun 1992 10:58:53 +0000 (10:58 +0000)]
* printcmd.c (output_command):  Thinko.
(x_command):  Only set remembered size/format if cmd succeeds.

32 years agokeep CYGNUS
K. Richard Pixley [Thu, 25 Jun 1992 03:11:49 +0000 (03:11 +0000)]
keep CYGNUS

32 years ago * nm.c (valueof macro): Add missing parentheses.
Per Bothner [Wed, 24 Jun 1992 20:58:17 +0000 (20:58 +0000)]
* nm.c (valueof macro):  Add missing parentheses.
(Their lack screwed up numeric_forward().)

32 years agoFix typo (place where GDB name was not given as _GDBN__).
Roland Pesch [Wed, 24 Jun 1992 20:55:36 +0000 (20:55 +0000)]
Fix typo (place where GDB name was not given as _GDBN__).

32 years agoAdded doc for command-line completion, incl new FNF support for quoted strings
Roland Pesch [Wed, 24 Jun 1992 20:45:53 +0000 (20:45 +0000)]
Added doc for command-line completion, incl new FNF support for quoted strings
w/C++ overloaded fns.

32 years ago* dbxread.c (read_ofile_symtab): Remove N_CATCH special case,
John Gilmore [Wed, 24 Jun 1992 19:58:57 +0000 (19:58 +0000)]
* dbxread.c (read_ofile_symtab):  Remove N_CATCH special case,
since it is no longer used and burns time for every symbol read.
(process_one_symbol):  Treat N_CATCH like default (complain).

32 years agoWed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Wed, 24 Jun 1992 18:02:38 +0000 (18:02 +0000)]
Wed Jun 24 10:57:54 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* app.c (process_escape): new function to handle escapes the right
way, (do_scrub_next_char): use new function
* cond.c (s_ifdef): do ifdef/ifndef right
* read.c (s_fill): make the , expressions optional like the doc
says
* config/tc-h8300.[ch]: better warnings

32 years ago* partial-stab.h (case N_TEXT): Fix fencepost error when
Stu Grossman [Wed, 24 Jun 1992 07:31:55 +0000 (07:31 +0000)]
* partial-stab.h (case N_TEXT):  Fix fencepost error when
detecting start of new symbol info after reading symtab for a
module with a zero length TEXT segment.
(Note that this fixes the BNR problem with printing vxWorksVersion.  That ought
to make Ken happy).

32 years ago * configure.in: Use mh-posix for Linux (free Unix clone).
Per Bothner [Wed, 24 Jun 1992 06:26:05 +0000 (06:26 +0000)]
* configure.in:  Use mh-posix for Linux (free Unix clone).

32 years ago * valprint.c (val_print_fields): Call fprint_symbol to get
Fred Fish [Wed, 24 Jun 1992 06:24:51 +0000 (06:24 +0000)]
* valprint.c (val_print_fields):  Call fprint_symbol to get
automatic C++ demangling for mangled field names.

32 years ago * cadillac.c (kernel_dispatch): Make return type void.
Fred Fish [Wed, 24 Jun 1992 05:52:01 +0000 (05:52 +0000)]
* cadillac.c (kernel_dispatch):  Make return type void.
* cadillac.c (iosig):  Signal handlers take one int arg.

32 years ago * sysdep-norm.h (alloca): Protect against previous definition as
Fred Fish [Wed, 24 Jun 1992 05:00:25 +0000 (05:00 +0000)]
* sysdep-norm.h (alloca):  Protect against previous definition as
a macro with arguments.

32 years ago * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.
Fred Fish [Wed, 24 Jun 1992 04:56:01 +0000 (04:56 +0000)]
* libbfd.h, libbfd-in.h (bfd_seek):  Make prototype match definition.
* reloc.c (bfd_default_reloc_type_lookup):  Make cast on return
type match actual return type.
* elf_print_symbol (section_name):  Make CONST.

32 years ago * Makefile.in (VERSION): Bump to 4.5.6.
Fred Fish [Wed, 24 Jun 1992 04:49:48 +0000 (04:49 +0000)]
* Makefile.in (VERSION):  Bump to 4.5.6.
* coffread.c (coff_end_symtab):  Cast 2nd arg of complain() to
correct type.
* defs.h (NORETURN):  Define away for Lucid compiler.
* remote.c (remote_timer, remote_interrupt):  Signal handlers
take one int arg.
* ser-termios.c (serial_write, serial_close):  Return whatever
value the write/close call returns, rather than falling off end.
* inferior.h (PTRACE_ARG3_TYPE):  Third arg to ptrace is int on
more systems than it is "char *".  Define PTRACE_ARG3_TYPE to
default to int.
* infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c,
inferior.h (call_ptrace):  Use PTRACE_ARG3_TYPE to declare type
of third arg.
* a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c,
m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c,
pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c,
symm-xdep.c, ultra3-xdep.c:  Use PTRACE_ARG3_TYPE to cast ptrace
argument 3.
* sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers,
store_inferior_registers): Supply missing fourth argument to
ptrace().

32 years agoMinor cleanup for better smallbook formatting w/default FSF style.
Roland Pesch [Wed, 24 Jun 1992 01:17:24 +0000 (01:17 +0000)]
Minor cleanup for better smallbook formatting w/default FSF style.

32 years ago(1) removed three-part table of config name components from Installing
Roland Pesch [Wed, 24 Jun 1992 00:15:44 +0000 (00:15 +0000)]
(1) removed three-part table of config name components from Installing
    appendix (too hard to maintain, esp w/recent versions of config.sub).
    Also corrected xref to this section accordingly.
(2) updated sample output from config.sub to match latest variation of
    that script
(3) minor editing to gnu contrib text on set/show remotedebug

32 years agoFix patch fragment for ncr3000.mh to find the file in the config dir.
Fred Fish [Tue, 23 Jun 1992 20:33:39 +0000 (20:33 +0000)]
Fix patch fragment for ncr3000.mh to find the file in the config dir.

32 years agoAdd patch to Makefile.in to default the demangling style to ARM/Lucid instead
Fred Fish [Tue, 23 Jun 1992 20:18:21 +0000 (20:18 +0000)]
Add patch to Makefile.in to default the demangling style to ARM/Lucid instead
of gcc style.

Remove the mipsread.c patch fragment that added #include <strings.h>.  It
is unnecessary, and causes compile failures on NCR/SVR4.

32 years agoMinor edits to new GNU material on special commands for AMD29K register
Roland Pesch [Tue, 23 Jun 1992 18:38:57 +0000 (18:38 +0000)]
Minor edits to new GNU material on special commands for AMD29K register
stack limit.

32 years agoAdd Linux hook.
Per Bothner [Tue, 23 Jun 1992 06:50:30 +0000 (06:50 +0000)]
Add Linux hook.

32 years agoNew file for Linux.
Per Bothner [Tue, 23 Jun 1992 06:47:53 +0000 (06:47 +0000)]
New file for Linux.

32 years agoAdd tm-linux.h and xm-linux.h.
Per Bothner [Tue, 23 Jun 1992 06:26:00 +0000 (06:26 +0000)]
Add tm-linux.h and xm-linux.h.

32 years agoAdd linux.mh and linux.mt.
Per Bothner [Tue, 23 Jun 1992 06:24:22 +0000 (06:24 +0000)]
Add linux.mh and linux.mt.

32 years agoCall setsid() when establishing new controlling terminal.
Stu Grossman [Tue, 23 Jun 1992 06:21:14 +0000 (06:21 +0000)]
Call setsid() when establishing new controlling terminal.

32 years agoAdd i386linux.h.
Per Bothner [Tue, 23 Jun 1992 06:20:09 +0000 (06:20 +0000)]
Add i386linux.h.

32 years agoPer, guess what you forgot to do...
Stu Grossman [Tue, 23 Jun 1992 05:27:14 +0000 (05:27 +0000)]
Per, guess what you forgot to do...
Hint:  Add i386linux.c to bfd/.Sanitize...

32 years agoFixup patch for .Sanitize to not remove cadillac.c.
Stu Grossman [Tue, 23 Jun 1992 05:05:15 +0000 (05:05 +0000)]
Fixup patch for .Sanitize to not remove cadillac.c.

32 years agoOops, retract last patch... Belongs in cadillac-patches.
Stu Grossman [Tue, 23 Jun 1992 05:03:32 +0000 (05:03 +0000)]
Oops, retract last patch...  Belongs in cadillac-patches.

32 years agoFixup patch for ncr3000.h -> config/ncr3000.h
Stu Grossman [Tue, 23 Jun 1992 05:00:37 +0000 (05:00 +0000)]
Fixup patch for ncr3000.h -> config/ncr3000.h

32 years agoAdd patch for .Sanitize file.
Stu Grossman [Tue, 23 Jun 1992 04:51:32 +0000 (04:51 +0000)]
Add patch for .Sanitize file.

32 years agoCreate new patch file to convert normal (mundane) GDB into SUPER-ENERGIZE GDB!
Stu Grossman [Tue, 23 Jun 1992 04:43:33 +0000 (04:43 +0000)]
Create new patch file to convert normal (mundane) GDB into SUPER-ENERGIZE GDB!

32 years ago* Centralize all Cadillac interface defs into defs.h.
Stu Grossman [Tue, 23 Jun 1992 04:31:56 +0000 (04:31 +0000)]
* Centralize all Cadillac interface defs into defs.h.
* Use prototypes for all interface routines (fix bugs found as a result of
  doing so).
* Make full_filename more robust in the face of null dirname/filenames.
* Get pty at startup instead of at child creation time.  Put GDB descriptors
  0, 1 and 2 on it so that we can see the output of shell commands.
* Get rid of prompt(), use print_prompt() instead.  Fixes loads of stupid
  prompting problems.

32 years ago * command.c (add_abbrev_prefix_cmd): Fix misspelling in comment.
Fred Fish [Tue, 23 Jun 1992 03:33:47 +0000 (03:33 +0000)]
* command.c (add_abbrev_prefix_cmd):  Fix misspelling in comment.
* dwarfread.c (enum_type):  Fix misspelling in comment.
* valprint.c (val_print_fields, cplus_val_print):  Minor
adjustment to printing of C++ class structures to more closely
match format for printing C structures, with and without setting
pretty print.

32 years agoAdd install-newlib
Steve Chamberlain [Tue, 23 Jun 1992 01:34:25 +0000 (01:34 +0000)]
Add install-newlib

32 years ago * configure: fix various problems with propogating
Steve Chamberlain [Tue, 23 Jun 1992 01:32:47 +0000 (01:32 +0000)]
* configure: fix various problems with propogating
makefile_target_frag in subdirs.
* configure.in: config libgcc if its there

32 years ago * i386linux.c, hosts/i386linux.h, config/i386-linux.mt:
Per Bothner [Tue, 23 Jun 1992 01:05:47 +0000 (01:05 +0000)]
* i386linux.c, hosts/i386linux.h, config/i386-linux.mt:
New files, for Linux (a free Unix clone for 386 machines).
* Makefile.in, configure.in, targets.c:  Update accordingly.

32 years ago * infrun.c (wait_for_inferior): Don't test for SIGEMT
Per Bothner [Tue, 23 Jun 1992 00:25:11 +0000 (00:25 +0000)]
* infrun.c (wait_for_inferior):  Don't test for SIGEMT
(which is not a Posix signal) if it isn't defined.
* tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in:
New port to Linux (a free Unix clone for 386 machines).

32 years agoNew port to Linux (a free Unix clone for 386 machines).
Per Bothner [Tue, 23 Jun 1992 00:23:22 +0000 (00:23 +0000)]
New port to Linux (a free Unix clone for 386 machines).

32 years agoLint Updates
Steve Chamberlain [Mon, 22 Jun 1992 16:07:35 +0000 (16:07 +0000)]
Lint Updates

32 years agoLint stuff which didn't make it last time
Steve Chamberlain [Mon, 22 Jun 1992 16:07:05 +0000 (16:07 +0000)]
Lint stuff which didn't make it last time

32 years agoFri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Mon, 22 Jun 1992 15:42:38 +0000 (15:42 +0000)]
Fri Jun 19 20:23:21 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and
correct calling of howto special functions and fixes from Raeburn
for gas<>bfdness
* archures.c: nuke bfd_reloc_code_type
* bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint
* coffcode.h (styp_to_sec_flags): STYP_INFO is marked as
SEC_NEVER_LOAD, various other bfdgas newness
* reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup
* targets.c: change jump table vector to above

32 years ago(find_source_lines): Handle large st_size fields.
John Gilmore [Sun, 21 Jun 1992 03:09:18 +0000 (03:09 +0000)]
(find_source_lines):  Handle large st_size fields.

32 years agoCOFF changes for dealing better with EPI 29K C compiler output.
John Gilmore [Sun, 21 Jun 1992 02:20:30 +0000 (02:20 +0000)]
COFF changes for dealing better with EPI 29K C compiler output.

* coffread.c (record_minimal_symbol):  Pass the minsym type to it.
Callers changed.
(coff_end_symtab):  Sort blocks if needed.  Complain if misordered.
(read_coff_symtab):  Move patch_opaque_types call from
coff_symfile_read.  Restrict it to symtabs from this objfile.
(process_coff_symbol: C_TPDEF):  Don't put ordinary foward
references on opaque type chain; just let coff_lookup_type handle 'em.
(decode_type):  Complain about tagndx values on
non-struct/union/enum types, which the EPI compiler tends to produce.

* symtab.c (list_symbols):  Make minimal symbol variable-finding work.

* tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order
dependency.

* elfread.c (elf_symfile_read):  Update bfd_elf_find_section
usage to match new prototype.  Include libbfd.h to get prototype.

32 years agoTypo.
John Gilmore [Sun, 21 Jun 1992 01:56:05 +0000 (01:56 +0000)]
Typo.

32 years ago* gdb.texinfo: document `set remotedebug' and `set rstack_high_address'.
John Gilmore [Sat, 20 Jun 1992 23:32:18 +0000 (23:32 +0000)]
* gdb.texinfo:  document `set remotedebug' and `set rstack_high_address'.

32 years ago * infcmd.c (jump_command): Use cleanups to avoid memory leaks.
Fred Fish [Sat, 20 Jun 1992 23:30:33 +0000 (23:30 +0000)]
  * infcmd.c (jump_command):  Use cleanups to avoid memory leaks.
  * stack.c (return_command):  Use cleanups to avoid memory leaks.

32 years ago* remote-adapt.c, remote-eb.c, remote-mm.c: Lint. Fix
John Gilmore [Sat, 20 Jun 1992 03:42:14 +0000 (03:42 +0000)]
* remote-adapt.c, remote-eb.c, remote-mm.c:  Lint.  Fix
INT_REGNUM to INTE_REGNUM.
* tm-29k.h (SDB_REG_TO_REGNUM):  Add for EPI 29K C compiler.

32 years ago* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION so
John Gilmore [Sat, 20 Jun 1992 02:04:20 +0000 (02:04 +0000)]
* elf.c (bfd_elf_find_section):  Mark as INTERNAL_FUNCTION so
its prototype will be included in libbfd.h.  Change result type
to struct * (rather than equivalent typedef) so it can be used in
the prototype, where they typedef won't be known.
* libbfd.h:  Updated version.

32 years agoHPPA BS
Stu Grossman [Sat, 20 Jun 1992 01:00:46 +0000 (01:00 +0000)]
HPPA BS

32 years ago* sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
Stu Grossman [Fri, 19 Jun 1992 22:50:08 +0000 (22:50 +0000)]
* sysdep-obsd.h:  #include <sys/types.h> to make this more Kosher.

32 years agoHPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:48:09 +0000 (22:48 +0000)]
HPPA merge.

32 years ago* bfd.h: HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:47:19 +0000 (22:47 +0000)]
* bfd.h:  HPPA merge.

32 years ago* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
Stu Grossman [Fri, 19 Jun 1992 22:43:49 +0000 (22:43 +0000)]
* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c,
hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h,
tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h:  HPPA merge.

32 years ago* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern
Stu Grossman [Fri, 19 Jun 1992 22:39:44 +0000 (22:39 +0000)]
* Makefile.in (c-exp.tab.c, m2-exp.tab.c):  Filter out bogus extern
declarations of malloc/realloc/free that are inserted by some
versions of yacc.
* m2-exp.y:  Prevent conflicts with TRUE and FALSE tokens by
#undeffing them.
* xm-rs6000.h:  Declare malloc/realloc/free appropriately.  Yet
another decl of strdup (this really ought to come from libiberty.h!).

32 years agoHPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:25:45 +0000 (22:25 +0000)]
HPPA merge.

32 years ago* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,
Stu Grossman [Fri, 19 Jun 1992 22:24:13 +0000 (22:24 +0000)]
* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,
targets.c:  HPPA merge.

32 years ago* config.sub: HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:20:16 +0000 (22:20 +0000)]
* config.sub:  HPPA merge.

32 years ago* remote.c (getpkt): Error if input exceeds buffer size.
John Gilmore [Fri, 19 Jun 1992 21:09:54 +0000 (21:09 +0000)]
* remote.c (getpkt):  Error if input exceeds buffer size.
(_initialize_remote):  `set remotedebug' enables packet trace.

* dbxread.c (process_one_symbol:N_FUN):  GCC now produces relative
N_SLINE's, etc, just like Sun cc on Solaris2.

* am29k-tdep.c (read_register_stack, write_register_stack):
Change RSTACK_HIGH_ADDR to rstack_high_address, a user-settable
variable.  Add `set' and `show' commands for it.
* doc/gdb.texinfo:  Document it.

* eval.c:  Avoid residue-by-zero when evaluating without side effects.
(Bug and fix found by Pierre Willard.)

* sparc-tdep.c:  Clean up slightly for Solaris2.

32 years agoFri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
John Gilmore [Fri, 19 Jun 1992 19:54:41 +0000 (19:54 +0000)]
Fri Jun 19 12:53:28 1992  John Gilmore  (gnu at cygnus.com)

* config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.

Mon Jun 15 13:50:34 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)

* configure.in: use mh-sysv4 on solaris2

32 years ago* configure.in: Separate Solaris2 from SYSV4 on SPARC.
John Gilmore [Fri, 19 Jun 1992 19:22:36 +0000 (19:22 +0000)]
* configure.in:  Separate Solaris2 from SYSV4 on SPARC.
* config/solaris2.mh:  Kludge around Sun compiler bug.

32 years ago * valprint.c (type_print_1): Plug memory leak. Print all
Fred Fish [Fri, 19 Jun 1992 02:43:22 +0000 (02:43 +0000)]
  * valprint.c (type_print_1):  Plug memory leak.  Print all
  C++ syms as demangled, not just functions.
  * buildsym.c (read_range_type):  When we find a signed char
  type, do a lookup of signed char, not plain char.  Plain char's
  still get looked up as plain char's elsewhere.

32 years ago1) Better fix for section "Readline Killing Commands": delete entire
Roland Pesch [Thu, 18 Jun 1992 20:03:38 +0000 (20:03 +0000)]
1) Better fix for section "Readline Killing Commands": delete entire
first paragraph.  It looks like it's left over from previous
nomenclature; term "cutting" introduced there is not used in rest of
document.  ("killing" is used instead, as in the section title and in
the following paragraph.)

2) More consistent use of @key for things to type in; in a few cases
not having it actually produced wrong doc on paper---notably "M--"
comes out as "M" followed by emdash, if in the plain Roman body
text...

32 years agoDelete dangling "There is a" at end of first paragraph under "Readline
Roland Pesch [Thu, 18 Jun 1992 19:04:16 +0000 (19:04 +0000)]
Delete dangling "There is a" at end of first paragraph under "Readline
Killing Commands".  None of our saved versions has the rest of this sentence,
whatever it may have been...

32 years ago * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
Steve Chamberlain [Thu, 18 Jun 1992 16:42:46 +0000 (16:42 +0000)]
* h8300hms.em, h8300hms.sc-sh:  do the right thing for -r
* ldexp.c:  lint
* ldlang.c(open_output): set the target arch and machine as soon
as we can. (lang_size_sections): use new macros for setting vma
* ldwrite.c: lint

32 years ago* xm-rs6000.h: Fix decls for malloc, realloc, and free.
Stu Grossman [Thu, 18 Jun 1992 00:10:11 +0000 (00:10 +0000)]
* xm-rs6000.h:  Fix decls for malloc, realloc, and free.

32 years ago* tm-rs6000.h: Remove #include of inferior.h. Fixes many
Stu Grossman [Wed, 17 Jun 1992 23:57:40 +0000 (23:57 +0000)]
* tm-rs6000.h:  Remove #include of inferior.h.  Fixes many
compilation errors.

32 years ago* xm-rs6000.h: Add decl for strdup().
Stu Grossman [Wed, 17 Jun 1992 23:56:30 +0000 (23:56 +0000)]
* xm-rs6000.h:  Add decl for strdup().

32 years ago* xm-rs6000.h: Remove #include of inferior.h. Fixes many
Stu Grossman [Wed, 17 Jun 1992 23:44:37 +0000 (23:44 +0000)]
* xm-rs6000.h:  Remove #include of inferior.h.  Fixes many
compilation errors.

32 years ago* breakpoint.c (enable_command, disable_command): Without args,
Stu Grossman [Wed, 17 Jun 1992 21:53:28 +0000 (21:53 +0000)]
* breakpoint.c (enable_command, disable_command):  Without args,
should only affect normal breakpoints and watchpoints.

32 years ago* libaout.h (aout_backend_data): Change defs of two bitfields to
Stu Grossman [Wed, 17 Jun 1992 21:05:49 +0000 (21:05 +0000)]
* libaout.h (aout_backend_data):  Change defs of two bitfields to
be unsigned chars instead to get around rs6000 compiler problem.

32 years ago * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
Fred Fish [Wed, 17 Jun 1992 20:58:46 +0000 (20:58 +0000)]
* elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
Correct misconception that there can be only one symbol table.
Only call elf_slurp_symbol_table on the full symbol table, not
the dynamic one which is only a subset of the full one.

(The bfd library was slurping in the first ELF symbol table it
found and then ignoring any others.  For dynamically linked
executables, this happened to be the dynamic symbol table, which
is a subset of the full symbol table and only contains the
symbols that need to be used in dynamic linking.)

32 years ago* m68k-pinsn.c (print_insn_arg): Make register be const.
Stu Grossman [Wed, 17 Jun 1992 20:24:32 +0000 (20:24 +0000)]
* m68k-pinsn.c (print_insn_arg):  Make register be const.

32 years ago* xcoffexec.c: Remove ' from comment.
Stu Grossman [Wed, 17 Jun 1992 20:15:03 +0000 (20:15 +0000)]
* xcoffexec.c:  Remove ' from comment.
* xm-sun3os4.h:  Define MALLOC_INCOMPATIBLE to avoid conflicts
with decls of malloc in c-exp.tab.c (as produced by yacc).
There's got to be a better way to do this...

32 years agoDon't align sections in I960 coff files.
Ken Raeburn [Wed, 17 Jun 1992 20:06:33 +0000 (20:06 +0000)]
Don't align sections in I960 coff files.
(I know there's a GDB freeze on, but this only affects writing i960
coff files, and Steve needs it ASAP.)

32 years ago * partial-stab.h: Convert single rindex use to strrchr.
Fred Fish [Wed, 17 Jun 1992 18:14:22 +0000 (18:14 +0000)]
* partial-stab.h: Convert single rindex use to strrchr.
* mipsread.c, dbxread.c:  Remove troublesome inclusion of non-
standard <strings.h> file, now that the only single use of
rindex in the gdb source files is gone.