binutils-gdb.git
31 years agoAdd delta68-nat.c to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:20:31 +0000 (07:20 +0000)]
Add delta68-nat.c to Things-to-keep list.

31 years agoAdd esix.h to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:10:33 +0000 (07:10 +0000)]
Add esix.h to Things-to-lose list.

31 years ago * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
Jim Kingdon [Fri, 30 Jul 1993 05:34:24 +0000 (05:34 +0000)]
* value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
was adequate in gdb 3.5 but not now.

* valops.c (typecmp): An array in t2 matches a pointer in t1.

* valops.c (typecmp): When comparing type1& to type2, compare
type1 and type2 as leniently as if we were comparing type1 to
type2.

31 years ago * write.c: Don't use short int in a prototype.
Ian Lance Taylor [Fri, 30 Jul 1993 05:22:12 +0000 (05:22 +0000)]
* write.c: Don't use short int in a prototype.

31 years ago * expr.c (operand): Make return value simply depend on contents of
Ian Lance Taylor [Fri, 30 Jul 1993 05:06:58 +0000 (05:06 +0000)]
* expr.c (operand): Make return value simply depend on contents of
returned expression.

31 years agoremove some sun3 function decls
David D. Zuhn [Fri, 30 Jul 1993 03:22:30 +0000 (03:22 +0000)]
remove some sun3 function decls

31 years ago * cp-valprint.c (cplus_print_value): Don't dump core if the
Jim Kingdon [Fri, 30 Jul 1993 01:42:09 +0000 (01:42 +0000)]
* cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
* values.c (vb_match): New function, which finds the virtual
base class pointer even if the types are nameless.
(baseclass_{addr,offset}): Use it.

31 years agofix ANSI decl conflicts
David D. Zuhn [Fri, 30 Jul 1993 01:40:25 +0000 (01:40 +0000)]
fix ANSI decl conflicts

31 years ago* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
Jim Kingdon [Fri, 30 Jul 1993 01:37:49 +0000 (01:37 +0000)]
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.

31 years ago* remote.texi: (MIPS Remote) make docn for set/show timeout,
Roland Pesch [Thu, 29 Jul 1993 22:11:55 +0000 (22:11 +0000)]
* remote.texi: (MIPS Remote) make docn for set/show timeout,
retransmit-timeout follow same conventions as for other set/show params

31 years agoAdd alpha directory.
Fred Fish [Thu, 29 Jul 1993 21:53:15 +0000 (21:53 +0000)]
Add alpha directory.

31 years agoFix alpha-osf.mh -> alpha-osf1.mh
Fred Fish [Thu, 29 Jul 1993 21:52:51 +0000 (21:52 +0000)]
Fix alpha-osf.mh -> alpha-osf1.mh

31 years ago * hppa-tdep.c: Make "maintenance print unwind" command from old
Jim Kingdon [Thu, 29 Jul 1993 21:42:31 +0000 (21:42 +0000)]
* hppa-tdep.c: Make "maintenance print unwind" command from old
"unwind" command.

31 years ago * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
Jim Kingdon [Thu, 29 Jul 1993 20:23:09 +0000 (20:23 +0000)]
* remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the
pre-serial.h remote.c, but which is no longer used.

31 years ago * Makefile.in (NONSRC): Need 29k-share/README, not
Fred Fish [Thu, 29 Jul 1993 20:02:21 +0000 (20:02 +0000)]
* Makefile.in (NONSRC):  Need 29k-share/README, not
29k-share/udi/README.

31 years ago * paread.c (pa_symfile_init): If error reading string table, don't
Jim Kingdon [Thu, 29 Jul 1993 19:19:30 +0000 (19:19 +0000)]
* paread.c (pa_symfile_init): If error reading string table, don't
use errno in cases where it hasn't been set.

31 years ago* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
Jim Kingdon [Thu, 29 Jul 1993 19:02:08 +0000 (19:02 +0000)]
* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.

31 years ago * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
Jim Kingdon [Thu, 29 Jul 1993 18:41:26 +0000 (18:41 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.

31 years agoAdd remote.texi, remove gdbinv-s.texi.
Fred Fish [Thu, 29 Jul 1993 18:30:06 +0000 (18:30 +0000)]
Add remote.texi, remove gdbinv-s.texi.

31 years ago * gdbint.texinfo: Update statement about `some ancient Unix
Jim Kingdon [Thu, 29 Jul 1993 18:21:10 +0000 (18:21 +0000)]
* gdbint.texinfo: Update statement about `some ancient Unix
systems, like Ultrix 4.0' to Ultrix 4.2.

31 years ago * remote-monitor.c (_initialize_monitor): Comment out use of
Jim Kingdon [Thu, 29 Jul 1993 18:11:33 +0000 (18:11 +0000)]
* remote-monitor.c (_initialize_monitor): Comment out use of
connect_command, since connect_command itself is commented out.

* remote-monitor.c (generic_open): Parse arguments the same way
as remote.c.

31 years ago* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
Jim Kingdon [Thu, 29 Jul 1993 17:14:38 +0000 (17:14 +0000)]
* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.

31 years ago* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
Roland Pesch [Thu, 29 Jul 1993 00:53:58 +0000 (00:53 +0000)]
* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
* Makefile.in: depend on remote.texi rather than gdbinv-s.texi
* remote.texi: (Server) New node on gdbserver.  (Remote Serial,
ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP.
* remote.texi: new name for former gdbinv-s.texi
* gdb.texinfo: use remote.texi rather than gdbinv-s.texi

31 years ago* config/mips/xm-mips.h: Define HAVE_TERMIOS.
Jim Kingdon [Wed, 28 Jul 1993 23:33:57 +0000 (23:33 +0000)]
* config/mips/xm-mips.h: Define HAVE_TERMIOS.

31 years ago * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
Jim Kingdon [Wed, 28 Jul 1993 18:50:11 +0000 (18:50 +0000)]
* dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
__gnu_compiled* symbols into the minimal symbols.

31 years agoanother small sco tweak
David D. Zuhn [Wed, 28 Jul 1993 17:59:45 +0000 (17:59 +0000)]
another small sco tweak

31 years ago * config/tc-m68k.c (m68k_ip): If we have a normal constant when we
Ian Lance Taylor [Wed, 28 Jul 1993 15:36:45 +0000 (15:36 +0000)]
* config/tc-m68k.c (m68k_ip): If we have a normal constant when we
expect a bignum, turn it into a bignum.  Output extra zeroes
before a short bignum, rather than after.

31 years ago * gdbinv-s.texi: Documented timeout and retransmit-timeout
Ian Lance Taylor [Wed, 28 Jul 1993 15:29:26 +0000 (15:29 +0000)]
* gdbinv-s.texi: Documented timeout and retransmit-timeout
variables for MIPS remote debugging protocol.

31 years ago * remote-mips.c (_initialize_remote_mips): Added "timeout" and
Ian Lance Taylor [Wed, 28 Jul 1993 15:28:53 +0000 (15:28 +0000)]
* remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and
mips_retransmit_wait, respectively.

31 years ago * symmisc.c (dump_msymbols): Handle new mst_file_* types.
Peter Schauer [Wed, 28 Jul 1993 11:00:53 +0000 (11:00 +0000)]
* symmisc.c (dump_msymbols):  Handle new mst_file_* types.

31 years ago * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
Jim Kingdon [Wed, 28 Jul 1993 07:51:01 +0000 (07:51 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc.  This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.
* config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.

31 years ago * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
Jim Kingdon [Wed, 28 Jul 1993 06:45:35 +0000 (06:45 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc.  This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.

31 years ago* remote-udi.c: Remove old comment about download not implemented.
Jim Kingdon [Wed, 28 Jul 1993 02:43:27 +0000 (02:43 +0000)]
* remote-udi.c: Remove old comment about download not implemented.

31 years ago * stack.c (print_frame_info): Revise comment about `pathological'
Jim Kingdon [Wed, 28 Jul 1993 01:11:32 +0000 (01:11 +0000)]
* stack.c (print_frame_info): Revise comment about `pathological'
case (there was a wrong FIXME about text labels; also asm() can
trigger this as well as versions of ar which truncate .o names).

31 years ago * buildsym.c (start_subfile): If a .c file includes a .C file, set
Jim Kingdon [Wed, 28 Jul 1993 00:22:08 +0000 (00:22 +0000)]
* buildsym.c (start_subfile): If a .c file includes a .C file, set
the language of both of them to C++.

31 years ago * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
Jim Kingdon [Tue, 27 Jul 1993 22:37:51 +0000 (22:37 +0000)]
* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
<memory.h>.
Include <malloc.h> rather than declaring malloc functions ourself.

* ser-unix.c (set_tty_state): Don't ignore errors setting process
group.
* inflow.c (terminal_inferior): If attach_flag set, ignore errors
from set_tty_state.

31 years agosymbols.c: Use DEBUG_SYMS instead of DEBUG.
Ken Raeburn [Tue, 27 Jul 1993 19:58:39 +0000 (19:58 +0000)]
symbols.c: Use DEBUG_SYMS instead of DEBUG.

31 years ago * nlm{32,64}-gen.c (JUMP_TABLE_PREFIX): Delete.
Fred Fish [Tue, 27 Jul 1993 19:56:00 +0000 (19:56 +0000)]
* nlm{32,64}-gen.c (JUMP_TABLE_PREFIX):  Delete.
* nlm{32,64}-gen.c (JUMP_TABLE_INIT):  New macro that works with
older cpp's, that don't do additional replacement on the JUMP_TABLE
macro's argument.
* nlm-target.h (JUMP_TABLE_INIT):  Use new macro in place of
JUMP_TABLE macro.

31 years ago * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
Peter Schauer [Tue, 27 Jul 1993 19:40:57 +0000 (19:40 +0000)]
* breakpoint.c (breakpoint_1):  Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
breakpoints.

Fix gdb core dumps after `file newfile' commands.
* symtab.h, symfile.c (clear_symtab_users):  New routine which
unconditionally clears symtab users. clear_symtab_users_once
commented out as it was a noop anyway.
* objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
* objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
* symfile.c (syms_from_objfile):  Install cleanups for errors during
symbol reading.
* coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
Lint cleanup code, call do_cleanups explicitly.
* symfile.c (symbol_file_add):  Call new_symfile_objfile and
reinit_frame_cache _after_ the new symbols are read in.

31 years agoAdded a $ to Jim's mod
Jason Merrill [Tue, 27 Jul 1993 19:40:12 +0000 (19:40 +0000)]
Added a $ to Jim's mod

31 years ago * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
Jim Kingdon [Tue, 27 Jul 1993 19:01:11 +0000 (19:01 +0000)]
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.

31 years agomips_optimize is also affected by -g.
Ian Lance Taylor [Tue, 27 Jul 1993 18:36:19 +0000 (18:36 +0000)]
mips_optimize is also affected by -g.

31 years ago * Makefile.in (install-dirs): Deal with a prefix like /gnu;
Jim Kingdon [Tue, 27 Jul 1993 18:06:23 +0000 (18:06 +0000)]
* Makefile.in (install-dirs): Deal with a prefix like /gnu;
its parent is '/' not ''.

31 years ago* Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog.
Jim Kingdon [Tue, 27 Jul 1993 17:49:52 +0000 (17:49 +0000)]
* Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog.

31 years ago * fork-child.c (fork_inferior): Only quote exec file if needed.
Jim Kingdon [Tue, 27 Jul 1993 17:43:09 +0000 (17:43 +0000)]
* fork-child.c (fork_inferior): Only quote exec file if needed.

* mipsread.c (parse_symbol): Remove 21 Jul 93 change with
stTypedef inside an stBlock.

31 years ago * config/tc-mips.c (mips_optimize): New static variable.
Ian Lance Taylor [Tue, 27 Jul 1993 15:55:35 +0000 (15:55 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.

31 years ago * config/tc-mips.c (mips_optimize): New static variable.
Ian Lance Taylor [Tue, 27 Jul 1993 15:47:11 +0000 (15:47 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.

31 years ago * mipsread.c (parse_type): Do not set tag name for compiler
Peter Schauer [Tue, 27 Jul 1993 08:59:44 +0000 (08:59 +0000)]
* mipsread.c (parse_type):  Do not set tag name for compiler
generated fake tag names.

31 years ago * Makefile.in (clean): if testsuite does not exist, then skip it.
K. Richard Pixley [Tue, 27 Jul 1993 01:05:23 +0000 (01:05 +0000)]
* Makefile.in (clean): if testsuite does not exist, then skip it.

31 years agoadd exec.o to m88k TDEPFILES.
K. Richard Pixley [Tue, 27 Jul 1993 00:36:08 +0000 (00:36 +0000)]
add exec.o to m88k TDEPFILES.

31 years ago Yet another trad-core variant:
Jim Kingdon [Mon, 26 Jul 1993 22:53:02 +0000 (22:53 +0000)]
Yet another trad-core variant:
* config/esix.mh, hosts/esix.h: New files.
* configure.hosts: Use them.

31 years agonew for esix
Jim Kingdon [Mon, 26 Jul 1993 22:46:42 +0000 (22:46 +0000)]
new for esix

31 years ago * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
Jim Kingdon [Mon, 26 Jul 1993 22:16:09 +0000 (22:16 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.

* config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
to tm-sparc.h so they are shared between Solaris and SunOS4.
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.

31 years ago * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
Jim Kingdon [Mon, 26 Jul 1993 20:41:50 +0000 (20:41 +0000)]
* config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
for floating point registers.

31 years ago* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Jim Kingdon [Mon, 26 Jul 1993 20:36:43 +0000 (20:36 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.

31 years ago * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
Jim Kingdon [Mon, 26 Jul 1993 20:33:35 +0000 (20:33 +0000)]
* mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
symbols as mst_file_text.

31 years ago * reloc.c (bfd_perform_relocation): Handle the case of
Ian Lance Taylor [Mon, 26 Jul 1993 20:24:26 +0000 (20:24 +0000)]
* reloc.c (bfd_perform_relocation): Handle the case of
complain_overflow_bitfield, rightshift > bitpos, and a negative
number.

31 years ago* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Jim Kingdon [Mon, 26 Jul 1993 20:14:41 +0000 (20:14 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.

31 years ago * stabsread.c (rs6000_builtin_type): Make logical types be
Jim Kingdon [Mon, 26 Jul 1993 20:04:02 +0000 (20:04 +0000)]
* stabsread.c (rs6000_builtin_type): Make logical types be
TYPE_CODE_BOOL.

31 years agorenaming elf emulparams files to work with current emulation handling code
Ken Raeburn [Mon, 26 Jul 1993 19:46:09 +0000 (19:46 +0000)]
renaming elf emulparams files to work with current emulation handling code

31 years agoLots o' elf changes
Ken Raeburn [Mon, 26 Jul 1993 19:37:05 +0000 (19:37 +0000)]
Lots o' elf changes

31 years agoReimplement segment writing.
Ken Raeburn [Mon, 26 Jul 1993 19:27:56 +0000 (19:27 +0000)]
Reimplement segment writing.
(elf_write_phdrs): Use precomputed e_phoff rather than making assumptions.
(elf_build_phdrs): Disabled, for now.
(assign_file_position_for_section): Don't change file offset for SHT_NOBITS.
(assign_file_positions_for_symtab_and_strtabs): New function.
(struct seg_info): New type.
(map_program_segments): New function.
(assign_file_positions_except_relocs): For executables, leave section headers
&c for last, and properly align all sections with flag SHF_ALLOC set.
(prep_headers): No longer abort when EXEC_P is set.
(write_shdrs_and_ehdr): Deleted all code relating to program segments.

(various): Deleted some unused code, and debugging "malloc(0)" calls.
(write_relocs): Cache value of last symbol looked up, to save
time if the symbol is referred to repeatedly.
(elf_fake_sections): Check only SEC_RELOC flag, not number of relocs.
(assign_section_numbers): Likewise.

31 years ago* hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
Jim Kingdon [Mon, 26 Jul 1993 19:19:39 +0000 (19:19 +0000)]
* hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.

31 years ago(elfXX_bed): Initialize maxpagesize from ELF_MAXPAGESIZE.
Ken Raeburn [Mon, 26 Jul 1993 18:46:37 +0000 (18:46 +0000)]
(elfXX_bed): Initialize maxpagesize from ELF_MAXPAGESIZE.
(ELF_MAXPAGESIZE): Default to 1.

31 years ago * libelf.h (struct elf_backend_data): New field, maxpagesize.
Ken Raeburn [Mon, 26 Jul 1993 18:44:03 +0000 (18:44 +0000)]
* libelf.h (struct elf_backend_data): New field, maxpagesize.
(struct elf_obj_tdata): New field, phdr.

31 years ago(bfd_perform_relocation): Handle 64-bit relocs.
Ken Raeburn [Mon, 26 Jul 1993 18:42:09 +0000 (18:42 +0000)]
(bfd_perform_relocation): Handle 64-bit relocs.

31 years ago* stabsread.c (rs6000_builtin_type): Make `logical' be TYPE_CODE_BOOL.
Jim Kingdon [Mon, 26 Jul 1993 18:23:59 +0000 (18:23 +0000)]
* stabsread.c (rs6000_builtin_type): Make `logical' be TYPE_CODE_BOOL.

31 years ago* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Jim Kingdon [Mon, 26 Jul 1993 18:14:20 +0000 (18:14 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.

31 years agosolaris 2 changes
Ken Raeburn [Mon, 26 Jul 1993 18:09:05 +0000 (18:09 +0000)]
solaris 2 changes

31 years agoPass emulation name without ".sh".
Ken Raeburn [Mon, 26 Jul 1993 18:08:43 +0000 (18:08 +0000)]
Pass emulation name without ".sh".

31 years ago * configure.in: Don't look in ${srcdir} for ${target_makefile_frag};
Ian Lance Taylor [Mon, 26 Jul 1993 16:11:38 +0000 (16:11 +0000)]
* configure.in: Don't look in ${srcdir} for ${target_makefile_frag};
the top level script has already adjusted for it.

31 years ago * srec.c (srec_write_symbols): Get CR LF in the right order.
Steve Chamberlain [Mon, 26 Jul 1993 15:11:38 +0000 (15:11 +0000)]
* srec.c (srec_write_symbols):  Get CR LF in the right order.

31 years ago* hosts/vaxbsd.h: Include std-host.h. Don't include <machine/param.h>.
Jim Kingdon [Mon, 26 Jul 1993 07:17:30 +0000 (07:17 +0000)]
* hosts/vaxbsd.h: Include std-host.h.  Don't include <machine/param.h>.

31 years ago * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
Jim Kingdon [Mon, 26 Jul 1993 05:26:55 +0000 (05:26 +0000)]
* breakpoint.{c,h} (struct breakpoint): Replace symtab field with
source_file field.

31 years agoupdate for latest datasheet revs
David D. Zuhn [Sun, 25 Jul 1993 20:59:42 +0000 (20:59 +0000)]
update for latest datasheet revs

31 years agoundo previous change
Brendan Kehoe [Sat, 24 Jul 1993 02:47:55 +0000 (02:47 +0000)]
undo previous change

31 years agodifferent logging
David D. Zuhn [Sat, 24 Jul 1993 00:03:21 +0000 (00:03 +0000)]
different logging

31 years ago * ch-exp.y (yycheck, yydefred, yydgoto, yygindex, yylen, yylhs,
Brendan Kehoe [Fri, 23 Jul 1993 22:37:01 +0000 (22:37 +0000)]
    * ch-exp.y (yycheck, yydefred, yydgoto, yygindex, yylen, yylhs,
        yyrindex, yysccsid, yysindex, yyss, yyssp, yytable, yyvs, yyvss):
        Also define these to chill_{name}, for 386BSD's yacc.
        * m2-exp.y: Likewise.

31 years agoFix stupid bugs inserted during expression conversion.
Ian Lance Taylor [Fri, 23 Jul 1993 19:17:12 +0000 (19:17 +0000)]
Fix stupid bugs inserted during expression conversion.

31 years ago * exec.c, corelow.c (target_ops struct): Don't allow
Jim Kingdon [Fri, 23 Jul 1993 18:18:41 +0000 (18:18 +0000)]
* exec.c, corelow.c (target_ops struct): Don't allow
{insert,remove}_breakpoints to be defaulted to
memory_{insert_remove}_breakpoint.

31 years ago(MAXPAGESIZE): Renamed from PAGE_SIZE.
Ken Raeburn [Fri, 23 Jul 1993 17:58:24 +0000 (17:58 +0000)]
(MAXPAGESIZE): Renamed from PAGE_SIZE.
(TEXT_START_ADDR): Value should be 0x10100.
(NONPAGED_TEXT_START_ADDR): Same (I guess).

31 years agorenamed PAGE_SIZE to MAXPAGESIZE
Ken Raeburn [Fri, 23 Jul 1993 17:57:35 +0000 (17:57 +0000)]
renamed PAGE_SIZE to MAXPAGESIZE

31 years ago * demangle.c: Make it so `help set dem' tells you how to get the
Jim Kingdon [Fri, 23 Jul 1993 17:25:20 +0000 (17:25 +0000)]
* demangle.c: Make it so `help set dem' tells you how to get the
list of demangling styles.

* Makefile.in: Use REMOTE_O macro not remote.o.

31 years ago* bfd.c (bfd_nonrepresentable_section, bfd_undefined_symbol,
David Edelsohn [Fri, 23 Jul 1993 17:23:14 +0000 (17:23 +0000)]
* bfd.c (bfd_nonrepresentable_section, bfd_undefined_symbol,
bfd_reloc_value_truncated, bfd_reloc_is_dangerous, bfd_assert):
Send error messages to stderr.

31 years agoobj-elf.c, tc-sparc.c, symbols.c changes
Ken Raeburn [Fri, 23 Jul 1993 17:18:20 +0000 (17:18 +0000)]
obj-elf.c, tc-sparc.c, symbols.c changes

31 years ago * write.c (fix_new_exp): Handle a O_uminus expression.
Ian Lance Taylor [Fri, 23 Jul 1993 03:32:57 +0000 (03:32 +0000)]
* write.c (fix_new_exp): Handle a O_uminus expression.

31 years ago * expr.c (expr): Don't let absolute_section override
Ian Lance Taylor [Fri, 23 Jul 1993 03:02:17 +0000 (03:02 +0000)]
* expr.c (expr): Don't let absolute_section override
undefined_section for the return value.

31 years ago * read.c (read_a_source_file): In NO_PSEUDO_DOT case, if we find a
Ian Lance Taylor [Fri, 23 Jul 1993 02:55:25 +0000 (02:55 +0000)]
* read.c (read_a_source_file): In NO_PSEUDO_DOT case, if we find a
pseudo-op with a poc_handler field of NULL, ignore it and treat it
as an instruction instead.
* config/tc-m88k.c (md_pseudo_table): Add "set" with a NULL
poc_handler field.

31 years ago * nlm{32,64}-target.h: Remove.
Fred Fish [Thu, 22 Jul 1993 23:09:07 +0000 (23:09 +0000)]
* nlm{32,64}-target.h:  Remove.
* nlm-target.h:  New file, merged from nlm{32,64}-target.h
* libnlm.h (NLM_ARCH_SIZE):  Define to ARCH_SIZE.
* nlm.c (ARCH_SIZE):  Remove define to zero.
* nlm32-gen.c (ARCH_SIZE):  Define to 32.
* nlm32-gen.c (JUMP_TABLE_PREFIX):  Define to nlm32.
* nlm{32,64}-gen.c (nlm-target.h):  Include.
* targets.c, libnlm.h, nlm.c, nlm{32,64}-gen.c, nlm{32,64}.c,
nlmcode.h:  Convert prefixes from bfd_nlm<size> to just
nlm<size>, and use macros select size.

31 years ago * Makefile.in: Use REMOTE_O macro not remote.o.
Jim Kingdon [Thu, 22 Jul 1993 22:47:34 +0000 (22:47 +0000)]
* Makefile.in: Use REMOTE_O macro not remote.o.
* config/i960/{nindy960,vxworks960}: Don't use remote.o.

31 years ago * Makefile.in (Makefile): add configure.in, drop redundant
K. Richard Pixley [Thu, 22 Jul 1993 22:43:07 +0000 (22:43 +0000)]
* Makefile.in (Makefile): add configure.in, drop redundant
  $(srcdir), drop redundant ./

31 years ago * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
Ian Lance Taylor [Thu, 22 Jul 1993 19:49:44 +0000 (19:49 +0000)]
* coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
(can't include it in nm-*.h file because it causes conflicts with
a.out symbol definitions).
* hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
* config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
corelow.o.
* config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
(REGISTER_U_ADDR): Defined.
* config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
HAVE_TERMIO.
* config/pa/xm-hppah.h: Likewise.

31 years agoGeneric HP/UX core file support.
Ian Lance Taylor [Thu, 22 Jul 1993 19:40:46 +0000 (19:40 +0000)]
Generic HP/UX core file support.

31 years ago * hpux-core.c: New file; backend for HP/UX style core files.
Ian Lance Taylor [Thu, 22 Jul 1993 19:39:41 +0000 (19:39 +0000)]
* hpux-core.c: New file; backend for HP/UX style core files.
* bfd.c (struct _bfd): Renamed hppa_core_data field to
hpux_core_data.
* bfd-in2.h: Updated.
* hppa.c (make_bfd_asection, hppa_core_file_p,
hppa_core_file_failing_command, hppa_core_file_failing_signal,
hppa_core_file_matches_executable_p): Moved into hpux-core.c.
Removed from target vector.
* libhppa.h (struct hppa_core_struct and accessor macros): Moved
into hpux-core.c.
* targets.c: If HPUX_CORE is defined, add hpux_core_vec to
target list.
* config/hp300.mh (HDEFINES): Set to -DHPUX_CORE.
(HDEPFILES): Set to hpux-core.o.
* config/hppabsd.mh, config/hppahpux.mh: Likewise.
* hosts/hp300.h (HOST_HP300HPUX): Define.
* Makefile.in (OPTIONAL_BACKENDS): Added sco-core.o,
aix386-core.o, hpux-core.o.
(sco-core.o, aix386-core.o, hpux-core.o): New dependencies.

31 years ago * config/tc-h8500.c (md_begin): Use a local variable when
Ian Lance Taylor [Thu, 22 Jul 1993 19:11:48 +0000 (19:11 +0000)]
* config/tc-h8500.c (md_begin): Use a local variable when
initializing md_relax_table to avoid warnings about modifying a
supposedly const data structure.

31 years ago * reloc.c (enum complain_overflow): New enumeration with the
Ian Lance Taylor [Thu, 22 Jul 1993 18:03:51 +0000 (18:03 +0000)]
* reloc.c (enum complain_overflow): New enumeration with the
various flavours of overflow checking.
(srtuct reloc_howto_struct): Changed complain_on_overflow field
from boolean to emum complain_overflow.  Removed obsolete absolute
field.
(HOWTO): Removed absolute argument.
(bfd_perform_relocation): Do overflow checking on all types of
fields.
* bfd-in2.h: Updated accordingly.
* all targets: Updated initialization of reloc howto tables.

31 years agoFixed typos.
Ian Lance Taylor [Thu, 22 Jul 1993 18:02:01 +0000 (18:02 +0000)]
Fixed typos.

31 years ago * config/obj-aout.c: Only include aout/aout64.h if BFD_ASSEMBLER
Brendan Kehoe [Thu, 22 Jul 1993 18:00:17 +0000 (18:00 +0000)]
    * config/obj-aout.c: Only include aout/aout64.h if BFD_ASSEMBLER
        is defined.

31 years ago* hppa{b,h}-nat.c: Warning, not error, if can't access registers.
Jim Kingdon [Thu, 22 Jul 1993 16:49:42 +0000 (16:49 +0000)]
* hppa{b,h}-nat.c: Warning, not error, if can't access registers.

31 years ago * mipsread.c (parse_symbol): when stTypedef and friends occur within
Jim Kingdon [Thu, 22 Jul 1993 05:00:05 +0000 (05:00 +0000)]
* mipsread.c (parse_symbol): when stTypedef and friends occur within
an stBlock, skip over the fields of the inner one.

* mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
heuristic_proc_desc rather than just assuming registers not saved.