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.
Per Bothner [Tue, 29 Jun 1993 20:11:07 +0000 (20:11 +0000)]
* Makefile.in (taz): rm $(TOOL)-$$VER before linking.
Per Bothner [Tue, 29 Jun 1993 20:08:23 +0000 (20:08 +0000)]
* config.guess: Recognize i486-ncr-sysv4.
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.
Jim Kingdon [Tue, 29 Jun 1993 18:53:40 +0000 (18:53 +0000)]
bugfix
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.
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.
Jim Kingdon [Tue, 29 Jun 1993 17:51:19 +0000 (17:51 +0000)]
* gdb.t16/printcmds.exp: Add printf tests.
David D. Zuhn [Tue, 29 Jun 1993 17:22:03 +0000 (17:22 +0000)]
fix HPUX hosting problems
Jim Kingdon [Tue, 29 Jun 1993 17:13:28 +0000 (17:13 +0000)]
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
Jim Kingdon [Tue, 29 Jun 1993 16:55:29 +0000 (16:55 +0000)]
* symtab.h: Add comments about line numbers.
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.
David D. Zuhn [Tue, 29 Jun 1993 16:02:41 +0000 (16:02 +0000)]
fix docstring so that it compiles
David D. Zuhn [Tue, 29 Jun 1993 15:30:57 +0000 (15:30 +0000)]
fix include file ordering problem (bfd.h vs. symfile.h)
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.
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.
Jim Kingdon [Tue, 29 Jun 1993 14:24:36 +0000 (14:24 +0000)]
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
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.
Jim Kingdon [Mon, 28 Jun 1993 22:34:29 +0000 (22:34 +0000)]
x
David MacKenzie [Mon, 28 Jun 1993 19:23:35 +0000 (19:23 +0000)]
* Makefile.in (scriptdir): Base on tooldir, not datadir.
Jim Kingdon [Mon, 28 Jun 1993 19:18:56 +0000 (19:18 +0000)]
config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
Jim Kingdon [Mon, 28 Jun 1993 17:38:30 +0000 (17:38 +0000)]
* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
Steve Chamberlain [Mon, 28 Jun 1993 15:59:30 +0000 (15:59 +0000)]
Extra stuff for really broken hp compiler.
Jim Kingdon [Mon, 28 Jun 1993 15:15:23 +0000 (15:15 +0000)]
* gdb.stabs/wierd.exp: Add xfail for rs6000.
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.
Jim Kingdon [Mon, 28 Jun 1993 14:58:42 +0000 (14:58 +0000)]
* hosts/riscos.h: Define NBPG and UPAGES.
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.
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.
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.
Rob Savoye [Mon, 28 Jun 1993 01:43:34 +0000 (01:43 +0000)]
Works again.
Ken Raeburn [Sun, 27 Jun 1993 20:32:32 +0000 (20:32 +0000)]
elf32.c (slurp_symbol_table): fix cast-as-lvalue bug
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.
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.
Jim Kingdon [Sun, 27 Jun 1993 14:28:30 +0000 (14:28 +0000)]
* config/mips/riscos.mh (CC): Use -systype sysv.
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.
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.
David D. Zuhn [Sun, 27 Jun 1993 01:42:27 +0000 (01:42 +0000)]
add go32 tools to the go32 targetted toolchains
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.
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.
David MacKenzie [Sat, 26 Jun 1993 06:42:46 +0000 (06:42 +0000)]
* Fix a couple of typos.
David MacKenzie [Sat, 26 Jun 1993 06:38:57 +0000 (06:38 +0000)]
* Makefile.in: Add rules for strings.
David MacKenzie [Sat, 26 Jun 1993 06:37:17 +0000 (06:37 +0000)]
* strings.c, strings.1: New files.
* binutils.texi: Document strings.
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.
Jim Kingdon [Sat, 26 Jun 1993 03:25:03 +0000 (03:25 +0000)]
revisions to just-checked-in stuff re common blocks
Jim Kingdon [Sat, 26 Jun 1993 02:39:05 +0000 (02:39 +0000)]
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
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.
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.
Ken Raeburn [Sat, 26 Jun 1993 00:47:23 +0000 (00:47 +0000)]
Elf bfd routines and types are now size-independent again.
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.
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.
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
Jim Kingdon [Fri, 25 Jun 1993 22:34:44 +0000 (22:34 +0000)]
add comment
Jim Kingdon [Fri, 25 Jun 1993 22:30:46 +0000 (22:30 +0000)]
doc fix
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.
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.
Jim Kingdon [Fri, 25 Jun 1993 19:35:35 +0000 (19:35 +0000)]
* README (Reporting Bugs): Refer people to the GDB manual.
Jim Kingdon [Fri, 25 Jun 1993 19:32:18 +0000 (19:32 +0000)]
* stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes.
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.
Jim Kingdon [Fri, 25 Jun 1993 19:11:22 +0000 (19:11 +0000)]
* remote-udi.c: Improve docstring.
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.
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.
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.
Jim Kingdon [Fri, 25 Jun 1993 16:31:24 +0000 (16:31 +0000)]
* config/mips/xm-riscos.h: Define USG.
Jim Kingdon [Fri, 25 Jun 1993 16:27:51 +0000 (16:27 +0000)]
* config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
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.
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.
Fred Fish [Thu, 24 Jun 1993 23:56:35 +0000 (23:56 +0000)]
* gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".
Rob Savoye [Thu, 24 Jun 1993 23:19:51 +0000 (23:19 +0000)]
Add RUNTEST so make can use the right one.
K. Richard Pixley [Thu, 24 Jun 1993 23:16:00 +0000 (23:16 +0000)]
define OP_INCLUDE
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.
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.
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.
Steve Chamberlain [Thu, 24 Jun 1993 20:52:58 +0000 (20:52 +0000)]
Checkpoint.
Steve Chamberlain [Thu, 24 Jun 1993 20:45:31 +0000 (20:45 +0000)]
Get 64bit stuff right.
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.
Jim Kingdon [Thu, 24 Jun 1993 00:44:54 +0000 (00:44 +0000)]
* partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
* dbxread.c: Change comment regarding acc.
K. Richard Pixley [Wed, 23 Jun 1993 23:54:57 +0000 (23:54 +0000)]
remove lines with only tabs
K. Richard Pixley [Wed, 23 Jun 1993 23:41:40 +0000 (23:41 +0000)]
-I$(BFD_DIR) rather than including from the library proper. Hmph.
K. Richard Pixley [Wed, 23 Jun 1993 22:59:35 +0000 (22:59 +0000)]
Makefile rework
K. Richard Pixley [Wed, 23 Jun 1993 22:17:35 +0000 (22:17 +0000)]
remove redundant include of symtab.h
K. Richard Pixley [Wed, 23 Jun 1993 22:14:18 +0000 (22:14 +0000)]
do not keep alloca.c
K. Richard Pixley [Wed, 23 Jun 1993 22:13:19 +0000 (22:13 +0000)]
removed alloca.c which is now in libiberty
K. Richard Pixley [Wed, 23 Jun 1993 22:09:27 +0000 (22:09 +0000)]
new M_UNINSTALL macro
K. Richard Pixley [Wed, 23 Jun 1993 22:06:58 +0000 (22:06 +0000)]
new M_UNINSTALL macro
Per Bothner [Wed, 23 Jun 1993 21:25:42 +0000 (21:25 +0000)]
taz rule: Simplify chmod; add xiberty to libg++.tar.gz.
Per Bothner [Wed, 23 Jun 1993 20:29:28 +0000 (20:29 +0000)]
Add install.sh
Jim Kingdon [Wed, 23 Jun 1993 20:06:07 +0000 (20:06 +0000)]
* stabs.texinfo (Negative Type Numbers): Minor character cleanups.
Per Bothner [Wed, 23 Jun 1993 20:01:29 +0000 (20:01 +0000)]
* Makefile.in: Define VERSION (for cd ..; make taz).
* Makefile.in: Set to version 2.3.91.
* Makefile.in (diststuff): Needed for distributions.
* Makefile (dts): Rip out. Subsumed by stuff in ../Makefile.in.
Jim Kingdon [Wed, 23 Jun 1993 19:44:05 +0000 (19:44 +0000)]
* config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
of gdb-sh.
Jim Kingdon [Wed, 23 Jun 1993 19:20:49 +0000 (19:20 +0000)]
* dbxread.c (copy_pending): Change name and function of begi argument
to endi, since that is what the caller needs.
Jim Kingdon [Wed, 23 Jun 1993 18:38:41 +0000 (18:38 +0000)]
* hosts/riscos.h: New file.
Jim Kingdon [Wed, 23 Jun 1993 18:01:36 +0000 (18:01 +0000)]
* configure.in: Add comment.
Jim Kingdon [Wed, 23 Jun 1993 15:54:34 +0000 (15:54 +0000)]
* Makefile.in (TAGFILES): Don't include YYFILES.
* Makefile.in (HFILES): Include monitor.h.
* Makefile.in: Include text that used to be in alldeps.mak.
Remove config/mips/{bigmips.mh,xm-bigmips} from it.
* Makefile.in, configure.in: Remove all traces of alldeps.mak.
Jim Kingdon [Wed, 23 Jun 1993 05:56:42 +0000 (05:56 +0000)]
* main.c (main): Print help message on stdout not stderr
per standards.texi.
New option --version per standards.texi.
In help message, show long options with "--" not "-".
Don't try to print help message or version until after we have
called initialize_all_files.
David D. Zuhn [Tue, 22 Jun 1993 23:43:34 +0000 (23:43 +0000)]
like mh-sysv4, except with Unixware X definitions
Jim Kingdon [Tue, 22 Jun 1993 23:35:35 +0000 (23:35 +0000)]
* solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
(solib_add): Call special_symbol_handling once, not once per library.
David MacKenzie [Tue, 22 Jun 1993 21:57:24 +0000 (21:57 +0000)]
* aoutx.h (howto_table_ext): Comment the field names.
* reloc.c (bfd_perform_relocation): Fix max and min values.
Ken Raeburn [Tue, 22 Jun 1993 21:42:31 +0000 (21:42 +0000)]
elfcode.h:bfd_section_from_shdr change
Jim Kingdon [Tue, 22 Jun 1993 21:40:17 +0000 (21:40 +0000)]
* hosts/std-host.h: Return value of puts and fputs is int not void.
Ken Raeburn [Tue, 22 Jun 1993 21:39:40 +0000 (21:39 +0000)]
Sigh. Null pointer return might be right in some cases; don't abort.
This page took 0.039117 seconds and 4 git commands to generate.