external/binutils.git
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.

31 years agofix HPUX hosting problems
David D. Zuhn [Tue, 29 Jun 1993 17:22:03 +0000 (17:22 +0000)]
fix HPUX hosting problems

31 years ago* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
Jim Kingdon [Tue, 29 Jun 1993 17:13:28 +0000 (17:13 +0000)]
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.

31 years ago* symtab.h: Add comments about line numbers.
Jim Kingdon [Tue, 29 Jun 1993 16:55:29 +0000 (16:55 +0000)]
* symtab.h: Add comments about line numbers.

31 years ago * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
Jim Kingdon [Tue, 29 Jun 1993 16:54:23 +0000 (16:54 +0000)]
* infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
to check whether there is line number information.

31 years agofix docstring so that it compiles
David D. Zuhn [Tue, 29 Jun 1993 16:02:41 +0000 (16:02 +0000)]
fix docstring so that it compiles

31 years agofix include file ordering problem (bfd.h vs. symfile.h)
David D. Zuhn [Tue, 29 Jun 1993 15:30:57 +0000 (15:30 +0000)]
fix include file ordering problem (bfd.h vs. symfile.h)

31 years ago * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
Jim Kingdon [Tue, 29 Jun 1993 15:25:27 +0000 (15:25 +0000)]
* dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
don't expect it, change it to LOC_STATIC so at least we don't coredump.

* c-typeprint.c (c_type_print_base): Don't error() on invalid type.

31 years ago * symtab.h (struct symtab, line_charpos): Fix comment.
Jim Kingdon [Tue, 29 Jun 1993 14:47:17 +0000 (14:47 +0000)]
* symtab.h (struct symtab, line_charpos): Fix comment.
* source.c (identify_source_line): Fix off by one bug with line.

31 years ago* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
Jim Kingdon [Tue, 29 Jun 1993 14:24:36 +0000 (14:24 +0000)]
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.

31 years ago * config/pa/xm-pa.h: New file.
Jim Kingdon [Mon, 28 Jun 1993 22:35:18 +0000 (22:35 +0000)]
* config/pa/xm-pa.h: New file.
* config/pa/xm-hppa{b,h}.h: Include it.

31 years agox
Jim Kingdon [Mon, 28 Jun 1993 22:34:29 +0000 (22:34 +0000)]
x

31 years ago * Makefile.in (scriptdir): Base on tooldir, not datadir.
David MacKenzie [Mon, 28 Jun 1993 19:23:35 +0000 (19:23 +0000)]
* Makefile.in (scriptdir): Base on tooldir, not datadir.

31 years agoconfig/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
Jim Kingdon [Mon, 28 Jun 1993 19:18:56 +0000 (19:18 +0000)]
config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.

31 years ago* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
Jim Kingdon [Mon, 28 Jun 1993 17:38:30 +0000 (17:38 +0000)]
* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.

31 years agoExtra stuff for really broken hp compiler.
Steve Chamberlain [Mon, 28 Jun 1993 15:59:30 +0000 (15:59 +0000)]
Extra stuff for really broken hp compiler.

31 years ago* gdb.stabs/wierd.exp: Add xfail for rs6000.
Jim Kingdon [Mon, 28 Jun 1993 15:15:23 +0000 (15:15 +0000)]
* gdb.stabs/wierd.exp: Add xfail for rs6000.

31 years ago * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
Jim Kingdon [Mon, 28 Jun 1993 15:03:27 +0000 (15:03 +0000)]
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.

31 years ago* hosts/riscos.h: Define NBPG and UPAGES.
Jim Kingdon [Mon, 28 Jun 1993 14:58:42 +0000 (14:58 +0000)]
* hosts/riscos.h: Define NBPG and UPAGES.

31 years ago * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
Jim Kingdon [Mon, 28 Jun 1993 14:34:46 +0000 (14:34 +0000)]
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.

31 years ago * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
Peter Schauer [Mon, 28 Jun 1993 14:23:11 +0000 (14:23 +0000)]
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.

31 years ago * Makefile.in: Note dependencies on bucomm.h.
David MacKenzie [Mon, 28 Jun 1993 02:17:13 +0000 (02:17 +0000)]
* Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o.

* strings.c: Include bucomm.h and add prototypes to other decls.
Remove -h option.

* bucomm.h: Declare xrealloc.

* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
--help option.  Put "GNU" in the version message.
(usage): Take stream and exit status as args.
(main): Pass new args to usage.

31 years agoWorks again.
Rob Savoye [Mon, 28 Jun 1993 01:43:34 +0000 (01:43 +0000)]
Works again.

31 years agoelf32.c (slurp_symbol_table): fix cast-as-lvalue bug
Ken Raeburn [Sun, 27 Jun 1993 20:32:32 +0000 (20:32 +0000)]
elf32.c (slurp_symbol_table): fix cast-as-lvalue bug

31 years ago * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
Peter Schauer [Sun, 27 Jun 1993 19:31:36 +0000 (19:31 +0000)]
* gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.

31 years ago * valprint.c (val_print_type_code_int): Fix off by one error with
Peter Schauer [Sun, 27 Jun 1993 15:56:44 +0000 (15:56 +0000)]
* valprint.c (val_print_type_code_int):  Fix off by one error with
eliminating leading zeroes for large little endian integers.

31 years ago* config/mips/riscos.mh (CC): Use -systype sysv.
Jim Kingdon [Sun, 27 Jun 1993 14:28:30 +0000 (14:28 +0000)]
* config/mips/riscos.mh (CC): Use -systype sysv.

31 years ago* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
Jim Kingdon [Sun, 27 Jun 1993 14:16:34 +0000 (14:16 +0000)]
* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.

31 years ago* Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
Jim Kingdon [Sun, 27 Jun 1993 14:06:28 +0000 (14:06 +0000)]
* Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.

31 years agoadd go32 tools to the go32 targetted toolchains
David D. Zuhn [Sun, 27 Jun 1993 01:42:27 +0000 (01:42 +0000)]
add go32 tools to the go32 targetted toolchains

31 years ago * ldver.c (help): New function.
David MacKenzie [Sat, 26 Jun 1993 20:13:24 +0000 (20:13 +0000)]
* ldver.c (help): New function.
* ldver.h: Declare it.
* ldlex.l, ldgram.y: Recognize new options --help and --version.

31 years ago * aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
David MacKenzie [Sat, 26 Jun 1993 15:00:47 +0000 (15:00 +0000)]
* aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
Use unsigned hash values for better hashing.
(hash): Hash in the string length for long strings.
* aoutx.h (compare): Replace 3 if's with a subtraction.
(translate_to_native_sym_flags, add_to_stringtab): Reorder tests
in decreasing order of success, as an optimization.
(hash): Take a length arg; ignore chars after #25, for speed.
(add_to_stringtab): Pass length to hash.

31 years ago * Fix a couple of typos.
David MacKenzie [Sat, 26 Jun 1993 06:42:46 +0000 (06:42 +0000)]
* Fix a couple of typos.

31 years ago * Makefile.in: Add rules for strings.
David MacKenzie [Sat, 26 Jun 1993 06:38:57 +0000 (06:38 +0000)]
* Makefile.in: Add rules for strings.

31 years ago * strings.c, strings.1: New files.
David MacKenzie [Sat, 26 Jun 1993 06:37:17 +0000 (06:37 +0000)]
* strings.c, strings.1: New files.
* binutils.texi: Document strings.

31 years ago* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
Jim Kingdon [Sat, 26 Jun 1993 03:30:24 +0000 (03:30 +0000)]
* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.

31 years agorevisions to just-checked-in stuff re common blocks
Jim Kingdon [Sat, 26 Jun 1993 03:25:03 +0000 (03:25 +0000)]
revisions to just-checked-in stuff re common blocks

31 years ago* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
Jim Kingdon [Sat, 26 Jun 1993 02:39:05 +0000 (02:39 +0000)]
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.

31 years ago * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
Jim Kingdon [Sat, 26 Jun 1993 02:05:54 +0000 (02:05 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.

31 years ago * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
Jim Kingdon [Sat, 26 Jun 1993 01:44:56 +0000 (01:44 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.

31 years agoElf bfd routines and types are now size-independent again.
Ken Raeburn [Sat, 26 Jun 1993 00:47:23 +0000 (00:47 +0000)]
Elf bfd routines and types are now size-independent again.

31 years ago * gdbserver/Makefile.in: Add dependancies on server.h.
Stu Grossman [Sat, 26 Jun 1993 00:41:00 +0000 (00:41 +0000)]
* gdbserver/Makefile.in:  Add dependancies on server.h.
* gdbserver/remote-gutils.c:  Remove lots of unused functions and
variables.
* gdbserver/remote-inflow.c:  Remove lots of unused variables and
#includes.  Also, use PTRACE_* symbols instead of constants.
(mywait):  Surround calls to wait() with enable/disable_async_io()
so that we can be interrupted from GDB while waiting for the
child.  Also, handle child exit more gracefully.
* gdbserver/remote-server.c:  Remove lots of unused variables.
Move all extern defs into server.h.  Redo main loop so that
failure from getpkt() causes communications to be re-established.
Fix 'k' command so that it restarts the child.
* gdbserver/remote-utils.c:  Remove lots of unloved vars and
subrs.  Move many extern decls into server.h.  (remote_open):  For
tcp, seperate usage of proto fd from connected fd.  Close proto
fd after getting connection.  (putpkt/getpkt):  Pay attention to
errors when reading/writing.  Report these to the caller.  New
routines input_interrupt/enable_async_io/disable_async_io to make
it possible to get an I/O interrupt when data arrives from the
comm link.
* serial.h:  New file to contain common defs for all remote files.

31 years ago * remote.c: Add arg names to prototypes, in a modest effort at
Stu Grossman [Sat, 26 Jun 1993 00:22:30 +0000 (00:22 +0000)]
* remote.c:  Add arg names to prototypes, in a modest effort at
clarification.  Also add prototypes for some new functions.
* (remote_wait):  Better error reporting for 'T' responses.
* ser-go32.c (strncasecmp):  Make str1 & str2 be const.
* (dos_async_init):  Make usage message reflect requested port #.
* ser-tcp.c (tcp_open):  Terminate hostname properly to prevent
random hostname lookup failures.  Add nicer message for unknown
host error.  (wait_for):  Wake up in case of exceptions.  Also,
restart select() if we got EINTR.
* ser-unix.c (wait_for):  Restart select() if we got EINTR.
* serial.c: (serial_close):  Clean up code.

31 years ago * Makefile.in: (REFEDITS) new var to control whether PS or CM
Roland Pesch [Fri, 25 Jun 1993 23:20:43 +0000 (23:20 +0000)]
* Makefile.in: (REFEDITS) new var to control whether PS or CM
fonts and whether US or A4 paper for GDB refcard; (refcard.dvi)
collect sed edits if any, apply to refcard before formatting;
(refcard.ps) stop implying PS fonts if PS output requested;
(lrefcard.ps) delete extra target for variant PS fonts

* refcard.tex: parametrize papersize dependent info, collect
  in easily replaced spot

* a4rc.sed: new file, edits to refcard for A4 paper

31 years agoadd comment
Jim Kingdon [Fri, 25 Jun 1993 22:34:44 +0000 (22:34 +0000)]
add comment

31 years agodoc fix
Jim Kingdon [Fri, 25 Jun 1993 22:30:46 +0000 (22:30 +0000)]
doc fix

31 years ago * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Jim Kingdon [Fri, 25 Jun 1993 20:28:06 +0000 (20:28 +0000)]
* Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Make comment explaining this comprehensible.
(TAGFILES): Include ALLDEPFILES.
(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
29k-share/udi/udi.
(update-alldeps): Remove; obsolete.

31 years ago * remote.c: Move comments regarding packets to top of file with the
Jim Kingdon [Fri, 25 Jun 1993 19:44:18 +0000 (19:44 +0000)]
* remote.c: Move comments regarding packets to top of file with the
rest of the protocol comments.
Fix incorrect description of 'T' response.

31 years ago* README (Reporting Bugs): Refer people to the GDB manual.
Jim Kingdon [Fri, 25 Jun 1993 19:35:35 +0000 (19:35 +0000)]
* README (Reporting Bugs): Refer people to the GDB manual.

31 years ago* stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes.
Jim Kingdon [Fri, 25 Jun 1993 19:32:18 +0000 (19:32 +0000)]
* stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes.

31 years ago * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
Jim Kingdon [Fri, 25 Jun 1993 19:29:45 +0000 (19:29 +0000)]
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.

31 years ago* remote-udi.c: Improve docstring.
Jim Kingdon [Fri, 25 Jun 1993 19:11:22 +0000 (19:11 +0000)]
* remote-udi.c: Improve docstring.

31 years ago * elf_symfile_read (bfd_elf32_find_section): Revert back to
Fred Fish [Fri, 25 Jun 1993 18:51:11 +0000 (18:51 +0000)]
* elf_symfile_read (bfd_elf32_find_section):  Revert back to
calling bfd_elf_find_section to track bfd changes.

31 years ago* config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
David Edelsohn [Fri, 25 Jun 1993 17:50:22 +0000 (17:50 +0000)]
* config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
All fp regs are now specified as %f.
(priv_reg_table): fpq -> fq.

31 years ago * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
Jim Kingdon [Fri, 25 Jun 1993 17:16:44 +0000 (17:16 +0000)]
* gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.

31 years ago * config/mips/xm-riscos.h: Define USG.
Jim Kingdon [Fri, 25 Jun 1993 16:31:24 +0000 (16:31 +0000)]
* config/mips/xm-riscos.h: Define USG.

31 years ago* config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
Jim Kingdon [Fri, 25 Jun 1993 16:27:51 +0000 (16:27 +0000)]
* config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.

31 years ago(tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
Ken Raeburn [Fri, 25 Jun 1993 09:51:47 +0000 (09:51 +0000)]
(tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
(s_local) [OBJ_ELF]: New function.
(md_pseudo_table) [OBJ_ELF]: Call it for "local".
(s_common): Rearrange to handle Solaris .common pseudo, which may sometimes use
bss space instead of common.
(md_parse_option) [OBJ_ELF]: Print version id for -V.  Ignore -Q and -s options
for now.

31 years ago * main.c (filename_completer): Don't complete to files ending in ~.
Jim Kingdon [Fri, 25 Jun 1993 03:47:12 +0000 (03:47 +0000)]
* main.c (filename_completer): Don't complete to files ending in ~.

* NEWS: Mention filename completion and "info line" enhancements.

* main.c (symbol_completion_function): On "info t foo", return NULL,
don't error().

* main.c (symbol_completion_function): Don't use readline word
breaking.  Use new calling convention for c->completer and
complete_on_cmdlist.
* command.h (struct command): Change arguments; now the text passed
to completer does not have any word breaking done.  New arg word.
* symtab.{c,h} (make_symbol_completion_list): Do word breaking.  Take
word argument.
* {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
* command.{c,h} (complete_on_cmdlist): Take word argument.

* command.c (lookup_cmd_1): Doc fix.

31 years ago * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
Fred Fish [Thu, 24 Jun 1993 23:56:35 +0000 (23:56 +0000)]
* gdb.t11/list.exp:  For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".

31 years agoAdd RUNTEST so make can use the right one.
Rob Savoye [Thu, 24 Jun 1993 23:19:51 +0000 (23:19 +0000)]
Add RUNTEST so make can use the right one.

31 years agodefine OP_INCLUDE
K. Richard Pixley [Thu, 24 Jun 1993 23:16:00 +0000 (23:16 +0000)]
define OP_INCLUDE

31 years ago * gprof.c (main): Get whoami from argv, instead of hardcoding.
David MacKenzie [Thu, 24 Jun 1993 21:44:34 +0000 (21:44 +0000)]
* gprof.c (main): Get whoami from argv, instead of hardcoding.
Use it in usage message.  Split usage message to fit in 80 cols.

31 years agoThu Jun 24 17:25:51 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
Ken Raeburn [Thu, 24 Jun 1993 21:30:26 +0000 (21:30 +0000)]
Thu Jun 24 17:25:51 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)

* elfcode.h (elf_new_section_hook): Do nothing for now.
(elf_write_object_contents): Output common symbols the way ELF
wants them.

Wed Jun 23 16:20:07 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)

* libelf.h (struct elf_obj_tdata and associated macros): Moved
here from elfcode.h.  A couple of size-specific structure pointers
were changed to PTR; uses fixed appropriately.
(elf32_symbol_type, elf64_symbol_type): Separated definitions.
(bfd_elf_mkobject): Renamed from bfd_elf32_mkobject.
(bfd_elf32_mkobject, bfd_elf64_mkobject, elf_mkobject): New
temporary macros to ease name change.
* elf.c (elf_read, elf_mkobject, elf_get_str_section,
elf_string_from_elf_section, bfd_elf_find_section): Moved here
from elfcode.h.
* doc/Makefile.in (libbfd.h): Process elf.c too.
* Makefile.in (elf.o): Note new dependencies.

* elfcode.h: Lots of stuff moved elsewhere.  Deleted some unused
code, tweaked some debug hooks.
(elf_slurp_reloca_table): Translate ELF section symbols into BFD
section symbols.

31 years ago* config/i386/ncr3000.mh, config/i386/i386v4.mh,
K. Richard Pixley [Thu, 24 Jun 1993 20:53:06 +0000 (20:53 +0000)]
* config/i386/ncr3000.mh, config/i386/i386v4.mh,
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh,
config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed.

* config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB):
renamed to MMALLOC.

31 years agoCheckpoint.
Steve Chamberlain [Thu, 24 Jun 1993 20:52:58 +0000 (20:52 +0000)]
Checkpoint.

31 years agoGet 64bit stuff right.
Steve Chamberlain [Thu, 24 Jun 1993 20:45:31 +0000 (20:45 +0000)]
Get 64bit stuff right.

31 years ago* run.c (main): Fix parsing of args.
David Edelsohn [Thu, 24 Jun 1993 20:43:41 +0000 (20:43 +0000)]
* run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.