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.
Ken Raeburn [Tue, 22 Jun 1993 21:38:10 +0000 (21:38 +0000)]
More get_word/put_word changes.
(bfd_section_from_shdr, case SHT_PROGBITS): If section already exists, still
use its address to fill in the rawdata slot.
(section_from_elf_index): Abort if section pointer is null.
Jim Kingdon [Tue, 22 Jun 1993 21:37:32 +0000 (21:37 +0000)]
* stabs.texinfo: Express disapproval of 'D' symbol descriptor
politely rather than rudely.
Jim Kingdon [Tue, 22 Jun 1993 19:48:52 +0000 (19:48 +0000)]
* procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
is SIG_DFL.
* procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
systems, not just Solaris.
David MacKenzie [Tue, 22 Jun 1993 17:41:28 +0000 (17:41 +0000)]
* ldlex.l, ldgram.y: Support new -oformat option.
Remove attempt at supporting script fragments on the command line.
* ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
* mri.c (mri_format), ldgram.y: Change callers.
* ldlang.h: Change prototype.
Jim Kingdon [Tue, 22 Jun 1993 08:20:18 +0000 (08:20 +0000)]
* stabsread.c: Include <ctype.h>.
Jim Kingdon [Tue, 22 Jun 1993 04:27:00 +0000 (04:27 +0000)]
* fork-child.c (fork_inferior): Quote exec_file so it can contain
funky characters.
Ken Raeburn [Tue, 22 Jun 1993 03:42:59 +0000 (03:42 +0000)]
fix include path again
Ken Raeburn [Tue, 22 Jun 1993 03:24:48 +0000 (03:24 +0000)]
Lots o' changes.
Mostly ELF changes, or misc cleanup.
Ken Raeburn [Tue, 22 Jun 1993 03:22:54 +0000 (03:22 +0000)]
regenerated
Ken Raeburn [Tue, 22 Jun 1993 03:21:12 +0000 (03:21 +0000)]
Use new size-independent elf internal data structures.
(put_word, get_word): Define as appropriate for architecture word size.
Structure swapping functions changed to use them as appropriate.
(bfd_add_to_strtab): Now static.
(sym_is_global): New function.
(elf_map_symbols): Call it. Now returns void. Removed unused local variable.
(bfd_section_from_shdr): Mark string tables other than for section and symbol
names as normal sections having contents.
(fix_up_strtabs): New function; fixes up ELF header fields for stab sections
with string tables associated.
(elf_write_object_contents): Map fix_up_strtabs over all BFD sections.
Reordered condition tests for symbol flags; default to local-object value
instead of global-object.
(elf_symbol_from_bfd_symbol): Hid conditionally-used variable inside condition
test.
(elf_print_symbol): Use fprintf_vma.
(elf_idx_of_sym, bfd_shdr_from_section): Unused functions commented out.
Ken Raeburn [Tue, 22 Jun 1993 03:07:39 +0000 (03:07 +0000)]
Use new size-independent elf internal data structures.
Ken Raeburn [Tue, 22 Jun 1993 03:06:29 +0000 (03:06 +0000)]
Use new size-independent versions of elf internal data structures.
Ken Raeburn [Tue, 22 Jun 1993 03:00:43 +0000 (03:00 +0000)]
Before casting a pointer into an integer field, verify that the field is
wide enough to hold it.
Ken Raeburn [Tue, 22 Jun 1993 02:58:25 +0000 (02:58 +0000)]
(srec_write_symbols): Use sprintf_vma, in case bfd_vma is too wide for
printf to handle.
Ken Raeburn [Tue, 22 Jun 1993 02:56:29 +0000 (02:56 +0000)]
Don't define int64 stuff here.
Fred Fish [Tue, 22 Jun 1993 00:05:40 +0000 (00:05 +0000)]
* Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
bfd.h is included by target.h, which most of gdb includes.
* depend: Hand remove BFD_INCLUDES from ${CC} lines, now that
it's in INCLUDE_CFLAGS.
Jim Kingdon [Mon, 21 Jun 1993 23:47:51 +0000 (23:47 +0000)]
various revisions to new files
Jim Kingdon [Mon, 21 Jun 1993 23:46:49 +0000 (23:46 +0000)]
* config/i386/*aix*, i386aix-nat.c: New files.
* configure.in: Use them.
* alldeps.mak: List them.
* coffread.c (decode_base_type): Deal with anonymous enum type.
* i387-tdep.c (print_387_status_word): Add comment re "top".
* i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
* dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
only if not defined by a header file.
* mipsread.c: Don't define L_SET or L_INCR.
David MacKenzie [Mon, 21 Jun 1993 23:40:21 +0000 (23:40 +0000)]
* .Sanitize (Things-to-keep): Add emulparams, emultempl, scripttempl.
Jim Kingdon [Mon, 21 Jun 1993 23:39:59 +0000 (23:39 +0000)]
new file
Jim Kingdon [Mon, 21 Jun 1993 23:14:07 +0000 (23:14 +0000)]
* config/i386/*aix*: New files.
* alldeps.mak: List them.
Fred Fish [Mon, 21 Jun 1993 22:27:19 +0000 (22:27 +0000)]
* {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
Makefile.in (distclean, realclean): Remove gdbme.c from list of
things to remove.
Fred Fish [Mon, 21 Jun 1993 22:11:44 +0000 (22:11 +0000)]
* Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
* depend: Hand updated to match.
Fred Fish [Mon, 21 Jun 1993 20:18:10 +0000 (20:18 +0000)]
Bfd.h is now back in BFD_OBJ_DIR, update by hand to match pending Rich's
changes...
David D. Zuhn [Mon, 21 Jun 1993 19:38:14 +0000 (19:38 +0000)]
don't use dirname
Jim Kingdon [Mon, 21 Jun 1993 19:37:13 +0000 (19:37 +0000)]
make mips-sony-bsd work
Jim Kingdon [Mon, 21 Jun 1993 18:48:51 +0000 (18:48 +0000)]
expand on solib_add_common_symbols comment
Jim Kingdon [Mon, 21 Jun 1993 17:33:06 +0000 (17:33 +0000)]
* snapshots.readme: Tell people to always report missing files.
Jim Kingdon [Mon, 21 Jun 1993 17:27:37 +0000 (17:27 +0000)]
fix typo in name of elf32-generic.c
Fred Fish [Mon, 21 Jun 1993 16:39:46 +0000 (16:39 +0000)]
Add all the mt-* files as things to keep.
Fred Fish [Mon, 21 Jun 1993 16:34:36 +0000 (16:34 +0000)]
Add news.h to list of files to keep.
Fred Fish [Mon, 21 Jun 1993 15:27:00 +0000 (15:27 +0000)]
Add elf32-generic.c to list of files to keep.
Ken Raeburn [Mon, 21 Jun 1993 00:58:38 +0000 (00:58 +0000)]
Look in ../bfd, not ../include, for bfd.h.
Ken Raeburn [Mon, 21 Jun 1993 00:54:46 +0000 (00:54 +0000)]
Recent changes, mostly ELF and bfd.h generation.
Ken Raeburn [Mon, 21 Jun 1993 00:53:45 +0000 (00:53 +0000)]
* elfcode.h (bfd_add_to_strtab): Now static.
(sym_is_global): New function.
(bfd_section_from_shdr): Makr stirng tables other than for section and symbol
names as normal sections having contents.
(fix_up_strtabs): New function; fixes up ELF header fields for stab sections
with string tables associated.
(elf_write_object_contents): Map fix_up_strtabs over all BFD sections.
Reordered condition tests for symbol flags; default to local-object value
instead of global-object.
* elfcode.h (new_section_hook): Define here.
Ken Raeburn [Mon, 21 Jun 1993 00:50:48 +0000 (00:50 +0000)]
Regenerated after my changes to bfd-in.h.
Ken Raeburn [Mon, 21 Jun 1993 00:50:12 +0000 (00:50 +0000)]
Regenerated after Kingdon's changes to cache.c.
(Declaration for bfd_cache_init is gone now.)
Ken Raeburn [Mon, 21 Jun 1993 00:36:35 +0000 (00:36 +0000)]
No longer use dummy new-section-hook.
Ken Raeburn [Mon, 21 Jun 1993 00:34:11 +0000 (00:34 +0000)]
Generate bfd.h in current directory by grabbing 64-bit definition (if any)
from sysdep.h (and nothing else) and inserting it into bfd-in2.h.
Remove ../include/bfd.h if found, in case it's left over from previous
versions of this code.
Ken Raeburn [Mon, 21 Jun 1993 00:30:11 +0000 (00:30 +0000)]
Change insertion marker for new bfd.h generation scheme.
Ken Raeburn [Sun, 20 Jun 1993 22:25:46 +0000 (22:25 +0000)]
(INCLUDES): Look in ../bfd, not ../include, for bfd.h.
Ken Raeburn [Sun, 20 Jun 1993 21:56:23 +0000 (21:56 +0000)]
Sun Jun 20 02:34:04 1993 Ashley Saulsbury (ans@sics.se)
* m88k-opcode.h : fixed tiny tiny mistake - xcr was incorrectly
specified, should have both S1 and S2 fields identical
If only finding the problem was as fast as fixing the bug !!!!
Jim Kingdon [Sun, 20 Jun 1993 20:30:31 +0000 (20:30 +0000)]
* stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
(read_cpp_abbrev): Don't complain specially for $_. Also return 0 if
we don't recognize the abbrev.
Jim Kingdon [Sun, 20 Jun 1993 05:28:07 +0000 (05:28 +0000)]
* solib.c (solib_add_common_symbols): Add comment about performance.
David D. Zuhn [Sat, 19 Jun 1993 22:18:24 +0000 (22:18 +0000)]
added stabs-in-elf menu entry, reformatted menus with C-c C-u a (texinfo mode command)
Fred Fish [Sat, 19 Jun 1993 14:53:17 +0000 (14:53 +0000)]
* gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
David MacKenzie [Sat, 19 Jun 1993 03:06:36 +0000 (03:06 +0000)]
* reloc.c (bfd_perform_relocation): Check for overflow on
pc-relative relocations if the howto asked for it.
Jim Kingdon [Sat, 19 Jun 1993 00:45:34 +0000 (00:45 +0000)]
* stabs.texinfo: Document common blocks.
Jim Kingdon [Fri, 18 Jun 1993 23:02:56 +0000 (23:02 +0000)]
* Makefile.in (stmp-bfd.h): Ignore nonzero exit status from grep.
Jim Kingdon [Fri, 18 Jun 1993 22:47:06 +0000 (22:47 +0000)]
* config/riscos.m{h,t}: New files.
* configure.{host,in}: Use them.
Jim Kingdon [Fri, 18 Jun 1993 22:21:38 +0000 (22:21 +0000)]
new files for riscos
Jim Kingdon [Fri, 18 Jun 1993 22:20:49 +0000 (22:20 +0000)]
* config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
Jim Kingdon [Fri, 18 Jun 1993 22:20:26 +0000 (22:20 +0000)]
* config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
* configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
Steve Chamberlain [Fri, 18 Jun 1993 22:16:32 +0000 (22:16 +0000)]
Look in the right place for bfd.h
Jim Kingdon [Fri, 18 Jun 1993 21:49:24 +0000 (21:49 +0000)]
* config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
* configure.in (mips-sony-*): Use news-mips for host.
Jim Kingdon [Fri, 18 Jun 1993 21:39:27 +0000 (21:39 +0000)]
* config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
* configure.in (mips-sony-*): Use news-mips for host.
Per Bothner [Fri, 18 Jun 1993 21:37:21 +0000 (21:37 +0000)]
* objdump.c (syms2): Removed unused variable.
* objdump.c (remove_useless_symbols): New function.
* objdump.c (comp): Simplify.
* objdump.c (dis-assemble_data): Make simpler and more
efficient how we filter out useless symbols: Just filter
BEFORE the sort (using remove_useless_symbols).
* objdump.c (objdump_print_address): Simplify.
Change output syntax to match gdb.
Steve Chamberlain [Fri, 18 Jun 1993 21:37:12 +0000 (21:37 +0000)]
Make it work in subdirs.
Steve Chamberlain [Fri, 18 Jun 1993 21:24:00 +0000 (21:24 +0000)]
New file for configuring.
Per Bothner [Fri, 18 Jun 1993 21:18:53 +0000 (21:18 +0000)]
* m68k-dis.c (print_insn_arg): Change return value to byte count
or error code.
* m68k-dis.c: Re-write to detect invalid operands before
printing anything, so we can handle this the same way we
handle invalid opcodes.
Steve Chamberlain [Fri, 18 Jun 1993 21:08:36 +0000 (21:08 +0000)]
Look in the right place for bfd.h.
Steve Chamberlain [Fri, 18 Jun 1993 20:53:58 +0000 (20:53 +0000)]
Lint.
K. Richard Pixley [Fri, 18 Jun 1993 19:56:00 +0000 (19:56 +0000)]
comment change. This is a mips file, not 88k.
David D. Zuhn [Fri, 18 Jun 1993 19:25:38 +0000 (19:25 +0000)]
single-quote $program_transform_name
Fred Fish [Fri, 18 Jun 1993 19:24:44 +0000 (19:24 +0000)]
Add note about endianess of the stabs-in-elf stabs binary data.
This page took 0.03885 seconds and 4 git commands to generate.