binutils-gdb.git
31 years ago* elfcode.h (elf_read): Delete static declaration, since function has moved.
Ken Raeburn [Tue, 6 Jul 1993 20:43:42 +0000 (20:43 +0000)]
* elfcode.h (elf_read): Delete static declaration, since function has moved.
(elf_map_symbols): Write out section symbols for all sections, for now.
(elf_symbol_from_bfd_symbol): Allow match if both symbols are section symbols
for the same section.
(elf_find_nearest_line): Don't print message, just return false.

31 years agofill out reloc table
Ken Raeburn [Tue, 6 Jul 1993 20:36:42 +0000 (20:36 +0000)]
fill out reloc table

31 years agoHack to cut down compilations needed for minimal-bfd:
Ken Raeburn [Tue, 6 Jul 1993 20:27:25 +0000 (20:27 +0000)]
Hack to cut down compilations needed for minimal-bfd:

* Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
(ofiles): New target.  Build a list of unique file names, in case
any got duplicated.
(TARGETLIB): Use list of files from ofiles.
* configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on
minimal-bfd flag and target makefile frag contents.

31 years agoStricter prototyping, to force type conversions between 64-bit target and
Ken Raeburn [Tue, 6 Jul 1993 20:20:31 +0000 (20:20 +0000)]
Stricter prototyping, to force type conversions between 64-bit target and
32-bit host values.

* libbfd.c (bfd_xmalloc_by_size_t): New function.
* opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations.
(obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
(new_bfd): Prototype-style definition, using DEFUN.
(bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type
size_t, not bfd_size_type.
* ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
* bfd.c (bfd_default_error_trap, bfd_error_trap,
bfd_error_nonrepresentabltrap): Prototypes.
* libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted
prototypes for arg type change.
* archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize,
do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.

31 years ago* gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
John Gilmore [Tue, 6 Jul 1993 19:43:06 +0000 (19:43 +0000)]
* gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
removed from the code by Kingdon.

31 years ago(enum bfd_reloc_code_real): Put simple power-to-two relocs together, and add
Ken Raeburn [Tue, 6 Jul 1993 19:29:36 +0000 (19:29 +0000)]
(enum bfd_reloc_code_real): Put simple power-to-two relocs together, and add
64-bit versions.  Also add sparc v9 reloc types.
(bfd_generic_get_relocated_section_contents): Argument to alloca is size_t.

31 years ago * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
Jim Kingdon [Tue, 6 Jul 1993 19:04:59 +0000 (19:04 +0000)]
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.

31 years ago * Makefile.in: Remove gdb before creating a new one.
Jim Kingdon [Tue, 6 Jul 1993 18:56:48 +0000 (18:56 +0000)]
* Makefile.in: Remove gdb before creating a new one.
Update init.c atomically.

31 years agoNew file.
Steve Chamberlain [Tue, 6 Jul 1993 18:28:42 +0000 (18:28 +0000)]
New file.

31 years agoBuild gprof for sh.
Steve Chamberlain [Tue, 6 Jul 1993 18:04:05 +0000 (18:04 +0000)]
Build gprof for sh.

31 years ago * gdb.texinfo (Break Commands): Remove stuff about flushing terminal
Jim Kingdon [Tue, 6 Jul 1993 17:43:51 +0000 (17:43 +0000)]
* gdb.texinfo (Break Commands): Remove stuff about flushing terminal
input when evaluating breakpoint conditions; the bug has been fixed.

* gdb.texinfo (Continuing and Stepping): Argument to "continue"
sets the ignore count to N-1, not to N.

31 years ago * run.c (main), interp.c (sim_set_timeout): Remove timeout
Steve Chamberlain [Tue, 6 Jul 1993 17:31:34 +0000 (17:31 +0000)]
* run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.

31 years ago * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
Jim Kingdon [Tue, 6 Jul 1993 17:15:02 +0000 (17:15 +0000)]
* Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
(ALLCONFIG): Add config/alpha/alpha-osf1.mh.

* infcmd.c (_initialize_infcmd): In docstring for "continue",
describe argument as setting ignore count.

31 years ago * Makefile.in: Install correctly.
Steve Chamberlain [Tue, 6 Jul 1993 17:12:20 +0000 (17:12 +0000)]
* Makefile.in: Install correctly.

31 years agoremove INSTALL=cp
David D. Zuhn [Tue, 6 Jul 1993 17:10:44 +0000 (17:10 +0000)]
remove INSTALL=cp

31 years ago* gdb.t06/signals.c: Add xfails for sun3.
Jim Kingdon [Tue, 6 Jul 1993 05:23:10 +0000 (05:23 +0000)]
* gdb.t06/signals.c: Add xfails for sun3.

31 years ago* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
Jim Kingdon [Tue, 6 Jul 1993 04:05:49 +0000 (04:05 +0000)]
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.

31 years ago * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
Jim Kingdon [Tue, 6 Jul 1993 03:50:00 +0000 (03:50 +0000)]
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597.  Also add
test_stepping tests.

31 years ago* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
David Edelsohn [Mon, 5 Jul 1993 23:50:15 +0000 (23:50 +0000)]
* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.

31 years ago * config/hp300hpux.mt: Use emulation hp3hpux rather than
Ian Lance Taylor [Mon, 5 Jul 1993 21:32:35 +0000 (21:32 +0000)]
* config/hp300hpux.mt: Use emulation hp3hpux rather than
hp300hpux, since the latter does not exist.

31 years ago * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
Ian Lance Taylor [Mon, 5 Jul 1993 21:32:13 +0000 (21:32 +0000)]
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.

31 years agosolaris doesn't have siginterrupt, though it has sigaction; however,
Mark Eichin [Mon, 5 Jul 1993 15:06:51 +0000 (15:06 +0000)]
solaris doesn't have siginterrupt, though it has sigaction; however,
in this case siginterrupt would just be setting the default. (This was
the only patch needed to make devo build solaris-x-a29kudi...)

31 years ago* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.
David Edelsohn [Sun, 4 Jul 1993 22:07:17 +0000 (22:07 +0000)]
* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.

31 years ago(sim_csize): Initialize cpu.cache.
David Edelsohn [Sun, 4 Jul 1993 07:37:45 +0000 (07:37 +0000)]
(sim_csize): Initialize cpu.cache.

31 years ago(bfd_h8_disassemble): Correct fetching of instruction.
David Edelsohn [Sun, 4 Jul 1993 06:49:43 +0000 (06:49 +0000)]
(bfd_h8_disassemble): Correct fetching of instruction.

31 years ago Passing -L. is no longer necessary.
David MacKenzie [Sat, 3 Jul 1993 02:23:22 +0000 (02:23 +0000)]
Passing -L. is no longer necessary.

31 years ago Fix previous fix.
David MacKenzie [Sat, 3 Jul 1993 02:18:12 +0000 (02:18 +0000)]
Fix previous fix.

31 years ago * ldmain.c (main): Don't add scriptdir to the lib search path.
David MacKenzie [Sat, 3 Jul 1993 02:01:03 +0000 (02:01 +0000)]
* ldmain.c (main): Don't add scriptdir to the lib search path.
* genscripts.sh: Put the scripts in the ldscripts directory, not
emulations.
* configure.in (ldscripts): Make, instead of emulations.
* Makefile.in (scriptdir): Take off the "ld" part.
(install, clean, distclean): Use ldscripts, not emulations.
In tests, pass -L., not -Lemulations.
(ldmain.o): Don't pass -DSCRIPTDIR=....
* ldlang.c (lang_process): Add "ldscripts/" to the name of the
default script file.

31 years agoKeep writecode.c
Steve Chamberlain [Sat, 3 Jul 1993 01:45:45 +0000 (01:45 +0000)]
Keep writecode.c

31 years agoMakefile.in: Add -I../../bfd to pick up bfd.h.
David Edelsohn [Sat, 3 Jul 1993 00:43:59 +0000 (00:43 +0000)]
Makefile.in: Add -I../../bfd to pick up bfd.h.

31 years agoFix typo.
David Edelsohn [Sat, 3 Jul 1993 00:40:35 +0000 (00:40 +0000)]
Fix typo.

31 years ago * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
Jim Kingdon [Sat, 3 Jul 1993 00:36:35 +0000 (00:36 +0000)]
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.

31 years ago * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
Jim Kingdon [Sat, 3 Jul 1993 00:27:47 +0000 (00:27 +0000)]
* eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
default cases.

31 years ago* Makefile.in (distclean): Remove y.tab.h.
Jim Kingdon [Sat, 3 Jul 1993 00:24:51 +0000 (00:24 +0000)]
* Makefile.in (distclean): Remove y.tab.h.

31 years agoscripttempl/h8300.sc: Add .tors section for constructor/destructors.
David Edelsohn [Sat, 3 Jul 1993 00:14:40 +0000 (00:14 +0000)]
scripttempl/h8300.sc: Add .tors section for constructor/destructors.

31 years ago * Doc fixes.
David MacKenzie [Sat, 3 Jul 1993 00:01:44 +0000 (00:01 +0000)]
* Doc fixes.

31 years ago * Makefile.in (clean): Remove bfd.h and stmp-bfd.h.
Jim Kingdon [Fri, 2 Jul 1993 23:57:52 +0000 (23:57 +0000)]
* Makefile.in (clean): Remove bfd.h and stmp-bfd.h.
(realclean): Remove generated headers.

31 years ago* gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
Jim Kingdon [Fri, 2 Jul 1993 21:56:27 +0000 (21:56 +0000)]
* gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.

31 years agocvs core dumped and didn't check this in last time.
Ian Lance Taylor [Fri, 2 Jul 1993 21:27:13 +0000 (21:27 +0000)]
cvs core dumped and didn't check this in last time.

* configure.in (mipos-*-riscos*): New host and target; use riscos.

31 years ago * config/h8500/tm-h8500.h: Define new macros.
Steve Chamberlain [Fri, 2 Jul 1993 21:27:09 +0000 (21:27 +0000)]
* config/h8500/tm-h8500.h: Define new macros.

31 years ago * config/alpha/xm-alpha.h: Add MAKEVA_END.
Steve Chamberlain [Fri, 2 Jul 1993 21:26:05 +0000 (21:26 +0000)]
* config/alpha/xm-alpha.h: Add MAKEVA_END.

31 years ago New target macros for getting at the pc, sp and fp.
Steve Chamberlain [Fri, 2 Jul 1993 21:25:04 +0000 (21:25 +0000)]
New target macros for getting at the pc, sp and fp.
* infcmd.c (read_pc, write_pc):  Modify to use new macros.
(read_sp, write_sp, read_fp, write_fp): New functions.
* blockframe.c (reinit_frame_cache, get_prev_frame_info):  Use new functions.
* breakpoint.c (bpstat_alloc): ditto.
* infrun.c (wait_for_inferior): ditto.
* stack.c (print_frame_info): ditto.
* valops (call_function_by_hand): ditto.
* corelow.c (core_open): ditto.
* h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): New functions.
* inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.

31 years ago * configure.in (mipos-*-riscos*): New host and target; use riscos.
Ian Lance Taylor [Fri, 2 Jul 1993 20:54:02 +0000 (20:54 +0000)]
* configure.in (mipos-*-riscos*): New host and target; use riscos.
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
vmparam.h, include machparam.h.
(KERNEL_U_ADDR): Define to be BSD43_UADDR.

31 years ago* c-exp.y (yylex): Give error if unmatched single quote.
Jim Kingdon [Fri, 2 Jul 1993 20:04:02 +0000 (20:04 +0000)]
* c-exp.y (yylex): Give error if unmatched single quote.

31 years ago* configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
Jim Kingdon [Fri, 2 Jul 1993 19:18:14 +0000 (19:18 +0000)]
* configure.in, config/m68k/*delta68*, delta68-nat.c: New port.

31 years agonew for delta 68k
Jim Kingdon [Fri, 2 Jul 1993 19:01:48 +0000 (19:01 +0000)]
new for delta 68k

31 years agonew files for Motorola delta 68k
Jim Kingdon [Fri, 2 Jul 1993 18:49:14 +0000 (18:49 +0000)]
new files for Motorola delta 68k

31 years ago * Remove unused STACK_END_ADDR in the following files (in other
Jim Kingdon [Fri, 2 Jul 1993 18:48:44 +0000 (18:48 +0000)]
* Remove unused STACK_END_ADDR in the following files (in other
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
tm-hp300hpux.h, tm-isi.h.

31 years ago * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
Jim Kingdon [Fri, 2 Jul 1993 18:26:55 +0000 (18:26 +0000)]
* gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.

31 years ago* gdb.t06/signals.exp: Add xfails unixware and rs6000.
Jim Kingdon [Fri, 2 Jul 1993 18:11:23 +0000 (18:11 +0000)]
* gdb.t06/signals.exp: Add xfails unixware and rs6000.

31 years ago * configure.in (*-*-riscos*): New entry; use mh-sysv.
Ian Lance Taylor [Fri, 2 Jul 1993 18:06:10 +0000 (18:06 +0000)]
* configure.in (*-*-riscos*): New entry; use mh-sysv.

31 years ago * config/mips-gdb.exp (gdb_exit): Removed close statement which is
Ian Lance Taylor [Fri, 2 Jul 1993 17:49:32 +0000 (17:49 +0000)]
* config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.

31 years ago * hosts/std-host.h: Removed declarations of printf, fprintf,
Ian Lance Taylor [Fri, 2 Jul 1993 17:38:16 +0000 (17:38 +0000)]
* hosts/std-host.h: Removed declarations of printf, fprintf,
fcntl, fread and fwrite.  They are all error prone for one reason
or another.  Changed declaration of memchr from char * to PTR.

31 years ago* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
Jim Kingdon [Fri, 2 Jul 1993 17:00:33 +0000 (17:00 +0000)]
* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.

31 years ago * configure.in (mips-*-riscos*): New target; use riscos.
Ian Lance Taylor [Fri, 2 Jul 1993 16:46:48 +0000 (16:46 +0000)]
* configure.in (mips-*-riscos*): New target; use riscos.
* configure.host (mips-*-riscos*): New host; use riscos.

31 years ago * config/riscos.mh (HDEFINES): Add -G 4.
Ian Lance Taylor [Fri, 2 Jul 1993 16:41:14 +0000 (16:41 +0000)]
* config/riscos.mh (HDEFINES): Add -G 4.

31 years ago * libaout.h (GET_SWORD): Use the bfd_h_get_signed entry points
Ian Lance Taylor [Fri, 2 Jul 1993 16:32:54 +0000 (16:32 +0000)]
* libaout.h (GET_SWORD): Use the bfd_h_get_signed entry points
rather than casting the result of bfd_h_get.

31 years agoupdate .Sanitize for delta68
Jim Kingdon [Fri, 2 Jul 1993 15:24:17 +0000 (15:24 +0000)]
update .Sanitize for delta68

31 years ago * configure.in, hosts/delta68.h, config/delta68.mh: Add stuff for
Jim Kingdon [Fri, 2 Jul 1993 15:19:18 +0000 (15:19 +0000)]
* configure.in, hosts/delta68.h, config/delta68.mh: Add stuff for
Motorola Delta 68.

31 years agonew file for delta 68
Jim Kingdon [Fri, 2 Jul 1993 15:05:47 +0000 (15:05 +0000)]
new file for delta 68

31 years ago * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
Jim Kingdon [Fri, 2 Jul 1993 14:13:09 +0000 (14:13 +0000)]
* gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
C++ features prints as "struct", make it a pass, not an xfail.

31 years agoh8500hms -> h8500
Steve Chamberlain [Fri, 2 Jul 1993 03:05:30 +0000 (03:05 +0000)]
h8500hms -> h8500

31 years ago * gdbtypes.h (struct type): Add field tag_name.
Jim Kingdon [Fri, 2 Jul 1993 02:57:06 +0000 (02:57 +0000)]
* gdbtypes.h (struct type): Add field tag_name.
* gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
Use it.
* {coff,dwarf,mips,stabs}read.c: Set it.

31 years ago * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
Jim Kingdon [Fri, 2 Jul 1993 02:50:43 +0000 (02:50 +0000)]
* ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
not an initializer, to copy the structure.

31 years ago * config/mips/nm-riscos.h: Define NBPG and UPAGES.
Jim Kingdon [Fri, 2 Jul 1993 02:48:59 +0000 (02:48 +0000)]
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.

31 years ago* gdb.t06/twice.exp: Don't care about the file name GDB prints.
Jim Kingdon [Fri, 2 Jul 1993 01:37:50 +0000 (01:37 +0000)]
* gdb.t06/twice.exp: Don't care about the file name GDB prints.

31 years agofix decls
David D. Zuhn [Fri, 2 Jul 1993 01:33:33 +0000 (01:33 +0000)]
fix decls

31 years agoupdate for q3 matrix
David D. Zuhn [Fri, 2 Jul 1993 01:32:40 +0000 (01:32 +0000)]
update for q3 matrix

31 years agoh8300hms -> h8300
David Edelsohn [Thu, 1 Jul 1993 23:38:29 +0000 (23:38 +0000)]
h8300hms -> h8300

31 years ago* xm-sysv4.h: Undefine HAVE_TERMIO.
Jim Kingdon [Thu, 1 Jul 1993 22:04:17 +0000 (22:04 +0000)]
* xm-sysv4.h: Undefine HAVE_TERMIO.

31 years ago* refcard.tex (\hoffset): correct longstanding error to match
Roland Pesch [Thu, 1 Jul 1993 21:59:16 +0000 (21:59 +0000)]
* refcard.tex (\hoffset): correct longstanding error to match
  intended offset; avoids cutting off edge on some printers

31 years ago * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
Jim Kingdon [Thu, 1 Jul 1993 21:07:02 +0000 (21:07 +0000)]
* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
we can still process "modern" core files.

31 years agomiscellaneous fixes to make RISC/os work; see ChangeLog's
Jim Kingdon [Thu, 1 Jul 1993 21:00:15 +0000 (21:00 +0000)]
miscellaneous fixes to make RISC/os work; see ChangeLog's

31 years agonew file for RISC/os
Jim Kingdon [Thu, 1 Jul 1993 20:45:38 +0000 (20:45 +0000)]
new file for RISC/os

31 years ago * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
Jim Kingdon [Thu, 1 Jul 1993 18:22:02 +0000 (18:22 +0000)]
* ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
print c_line.
(_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
is defined; don't care what it is defined to.

31 years ago* Makefile.in (.y.c): skip default .y.c rules. gnu make can now run in
K. Richard Pixley [Thu, 1 Jul 1993 01:23:39 +0000 (01:23 +0000)]
* Makefile.in (.y.c): skip default .y.c rules. gnu make can now run in
  parallel without colliding on yacc's static file names. Without the
  stub rule, make will try to start two yacc's concurrently which
  fails because of yacc's static file names.

31 years ago* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
Jim Kingdon [Thu, 1 Jul 1993 01:10:22 +0000 (01:10 +0000)]
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.

31 years ago* stabs.texinfo (Parameters): Say that order of stabs is significant.
Jim Kingdon [Wed, 30 Jun 1993 23:28:24 +0000 (23:28 +0000)]
* stabs.texinfo (Parameters): Say that order of stabs is significant.

31 years ago* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
Jim Kingdon [Wed, 30 Jun 1993 23:05:47 +0000 (23:05 +0000)]
* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.

31 years ago* Makefile.in (ldgram.[hc]): rewrite this rule in such a way that gnu
K. Richard Pixley [Wed, 30 Jun 1993 22:48:51 +0000 (22:48 +0000)]
* Makefile.in (ldgram.[hc]): rewrite this rule in such a way that gnu
  make can run in parallel without colliding on yacc's static file
  names.

31 years ago * inftarg.c: Remove unused include of terminal.h.
Jim Kingdon [Wed, 30 Jun 1993 22:20:53 +0000 (22:20 +0000)]
* inftarg.c: Remove unused include of terminal.h.
* signals.h: Don't undefine signals anymore.
* main.c: Use job_control from serial.h.
* fork-child.c (fork_inferior): Use gdb_setpgid.
* serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
* utils.c (quit): Use current_target->to_terminal_ours to figure
out whether we care about lack of job control, rather than __GO32__.
* utils.c: Include serial.h not terminal.h
(quit): Use job_control not TIOCGPGRP.
* terminal.h: Don't undefine TIOCGPGRP.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
* utils.c (quit): Use it.
* serial.h: Add SERIAL_UN_FDOPEN.
* utils.c (quit): Use it.
* ser-unix.c: Add process group to ttystate.
[HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
* inflow.c: Include serial.h not terminal.h.
Use serial.h stuff to replace most of the maze of #ifdef's.
* inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
* serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
* ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
SERIAL_SET_PROCESS_GROUP.
* inflow.c: Use them.
* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
Define HAVE_TERMIOS.
* Various: Remove all use of TIOC*_BROKEN.

31 years agobfd.h isn't here any more
Ken Raeburn [Wed, 30 Jun 1993 21:21:55 +0000 (21:21 +0000)]
bfd.h isn't here any more

31 years agoalpha-osf.mh -> alphaosf.mh
David Edelsohn [Wed, 30 Jun 1993 20:56:07 +0000 (20:56 +0000)]
alpha-osf.mh -> alphaosf.mh

31 years ago * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
Peter Schauer [Wed, 30 Jun 1993 19:23:35 +0000 (19:23 +0000)]
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.

31 years ago * read.c (cons): Conditionalize parsing of expression. Move
Ian Lance Taylor [Wed, 30 Jun 1993 18:27:41 +0000 (18:27 +0000)]
* read.c (cons): Conditionalize parsing of expression.  Move
putting value into object file into separate function.  Separate
out MRI and WANT_BITFIELDS cases into separate functions.
(emit_expr): New function to write data into object file.
Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on
processor types.
(parse_bitfield_cons): New function to parse bitfield expressions
as used by i960 assemblers.  Only compiled if
BITFIELD_CONS_EXPRESSIONS is defined.
(parse_mri_cons): New function to parse MRI style strings.  Only
compiled if MRI is defined.
(parse_repeat_cons): New function to parse repeat counts.  Only
compiled if REPEAT_CONS_EXPRESSIONS is defined.
* read.h (emit_expr): Added declaration of new function.
* config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32.
* config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD.
* config/tc-hppa.c (parse_cons_expression_hppa): New function to
parse a HPPA expression, rather than special case in cons
function.
(cons_fix_new_hppa): New function to emit an HPPA fixup, rather
than special case in emit_expr function.
* config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW):
Define to use new functions from tc-hppa.c.
* config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define.
(WANT_BITFIELDS): Removed; now obsolete.
* config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define.
* config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an
NS32K fixup, rather than special case in emit_expr function.
* config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be
cons_fix_new_ns32k.  Also use PARAMS rather than checking
__STDC__.
* config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32.

* write.c (relax_and_size_seg, adjust_reloc_syms, write_contents):
Don't core dump if gas has no information about a section.

31 years agosparc64 changes
Ken Raeburn [Wed, 30 Jun 1993 10:34:32 +0000 (10:34 +0000)]
sparc64 changes

31 years agoNew files for sparc64 cpu.
Ken Raeburn [Wed, 30 Jun 1993 10:30:54 +0000 (10:30 +0000)]
New files for sparc64 cpu.

31 years ago(CAT4): Added Saber-C (ANSI mode) version.
Ken Raeburn [Wed, 30 Jun 1993 10:04:58 +0000 (10:04 +0000)]
(CAT4): Added Saber-C (ANSI mode) version.
(bfd_elf64_*): New decls.

31 years agodelete setting of a variable i wound up not using
Ken Raeburn [Wed, 30 Jun 1993 09:17:06 +0000 (09:17 +0000)]
delete setting of a variable i wound up not using

31 years agolist new files, new stuff to sanitize
Ken Raeburn [Wed, 30 Jun 1993 02:54:35 +0000 (02:54 +0000)]
list new files, new stuff to sanitize

31 years agonew generic elf64 stuff
Ken Raeburn [Wed, 30 Jun 1993 02:52:52 +0000 (02:52 +0000)]
new generic elf64 stuff

31 years agokludge around 386BSD bug
David D. Zuhn [Tue, 29 Jun 1993 20:59:01 +0000 (20:59 +0000)]
kludge around 386BSD bug

31 years ago * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
Peter Schauer [Tue, 29 Jun 1993 20:18:26 +0000 (20:18 +0000)]
* symtab.h (BLOCK_SHOULD_SORT):  Do not sort blocks corresponding to
a function to avoid printing of function arguments in wrong order
due to sorting.
* symfile.c (compare_symbols):  Remove code for sorting arguments
as blocks containing arguments are no longer sorted.
* symtab.c (lookup_block_symbol):  Update comment accordingly.

31 years ago * Makefile.in (taz): rm $(TOOL)-$$VER before linking.
Per Bothner [Tue, 29 Jun 1993 20:11:07 +0000 (20:11 +0000)]
* Makefile.in (taz):  rm $(TOOL)-$$VER before linking.

31 years ago * config.guess: Recognize i486-ncr-sysv4.
Per Bothner [Tue, 29 Jun 1993 20:08:23 +0000 (20:08 +0000)]
* config.guess:  Recognize i486-ncr-sysv4.

31 years ago * Makefile.in (MAKEINFOFLAGS): New variable.
Ian Lance Taylor [Tue, 29 Jun 1993 19:55:24 +0000 (19:55 +0000)]
* Makefile.in (MAKEINFOFLAGS): New variable.
(FLAGS_TO_PASS): Pass MAKEINFO as MAKEINFO MAKEINFOFLAGS.
* build-all.mk, test-build.mk: Pass down --no-split as
MAKEINFOFLAGS when hosted on DOS.  Compile DOS hosted without -g.

31 years agobugfix
Jim Kingdon [Tue, 29 Jun 1993 18:53:40 +0000 (18:53 +0000)]
bugfix

31 years ago * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
Jim Kingdon [Tue, 29 Jun 1993 18:27:56 +0000 (18:27 +0000)]
* config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
(REG_STRUCT_HAS_ADDR): Add comment.

31 years ago * coff-mips.c (ecoff_find_nearest_line): If procedure has no line
Ian Lance Taylor [Tue, 29 Jun 1993 17:51:34 +0000 (17:51 +0000)]
* coff-mips.c (ecoff_find_nearest_line): If procedure has no line
number information, return 0 for line number.

31 years ago* gdb.t16/printcmds.exp: Add printf tests.
Jim Kingdon [Tue, 29 Jun 1993 17:51:19 +0000 (17:51 +0000)]
* gdb.t16/printcmds.exp: Add printf tests.