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.
Fred Fish [Fri, 18 Jun 1993 19:15:45 +0000 (19:15 +0000)]
* stabs.texinfo: Add some basic info about stabs-in-elf.
(this may require attention from a tex/texinfo wizard..)
David D. Zuhn [Fri, 18 Jun 1993 19:04:06 +0000 (19:04 +0000)]
change program_transform_name quoting
Jim Kingdon [Fri, 18 Jun 1993 19:01:43 +0000 (19:01 +0000)]
* stabs.texinfo (Top): Minor cleanup.
Jim Kingdon [Fri, 18 Jun 1993 18:40:02 +0000 (18:40 +0000)]
* cache.c (bfd_cache_init): Increment open_files and call close_one
if necessary.
(bfd_open_file): Don't increment open_files here.
Jim Kingdon [Fri, 18 Jun 1993 18:38:05 +0000 (18:38 +0000)]
* config/delta88.mh: Don't set CC.
David D. Zuhn [Fri, 18 Jun 1993 18:18:12 +0000 (18:18 +0000)]
append transformbasename to transformed name
Jim Kingdon [Fri, 18 Jun 1993 18:15:58 +0000 (18:15 +0000)]
#if 0 out some more declarations which conflict with system headers
Jim Kingdon [Fri, 18 Jun 1993 18:14:26 +0000 (18:14 +0000)]
* configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
Jim Kingdon [Fri, 18 Jun 1993 17:54:36 +0000 (17:54 +0000)]
new file
Jim Kingdon [Fri, 18 Jun 1993 17:45:41 +0000 (17:45 +0000)]
* Makefile.in: Add elf32-{mips,m88k,generic}.
elf32-{mips,m88k,generic}.c: New files.
targets.c (target_vector): Include bfd_elf32_{mips,m88k,generic}_vec.
elfcode.h (elf_object_p): Match elf32-generic for all machines which
don't match a different target.
Fred Fish [Fri, 18 Jun 1993 17:43:51 +0000 (17:43 +0000)]
* gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp: Add clear_xfails at appropriate places to
avoid spurious xfails.
* gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
* gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
Jim Kingdon [Fri, 18 Jun 1993 17:40:50 +0000 (17:40 +0000)]
* buildsym.h: Doc fix for processing_acc_compilation.
David D. Zuhn [Fri, 18 Jun 1993 17:03:58 +0000 (17:03 +0000)]
more install/program_transform_name fixes
David D. Zuhn [Fri, 18 Jun 1993 16:57:33 +0000 (16:57 +0000)]
fix INSTALL_XFORM definition
Jim Kingdon [Fri, 18 Jun 1993 16:13:10 +0000 (16:13 +0000)]
* cache.c, bfd-in.h: New function bfd_make_cacheable.
opncls.c (bfd_fdopenr): Suggest it in the comment.
* cache.c (bfd_cache_init): Increment open_files.
Jim Kingdon [Fri, 18 Jun 1993 16:07:34 +0000 (16:07 +0000)]
* Makefile.in: Add elf32-{mips,m88k}.
elf32-{mips,m88k}.c: New files.
targets.c (target_vector): Include bfd_elf32_{mips,m88k}_vec.
John Gilmore [Fri, 18 Jun 1993 10:29:14 +0000 (10:29 +0000)]
Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe. Leave the 64-bit types for now,
since they are in flux.
* hosts/*.h: Remove declarations of all these types.
John Gilmore [Fri, 18 Jun 1993 10:26:55 +0000 (10:26 +0000)]
Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe. Leave the 64-bit types for now,
since they are in flux.
* aoutx.h, hp300hpux.c: Eliminate needless (int32_type) casts.
* libaout.h (GET_SWORD): Convert (int32_type) to (int).
* ieee.c: Convert uint8e_type => unsigned char.
* oasys.c: Extensive changes to eliminate obsolete types.
These depend on changes in ../include/oasys.h as well.
John Gilmore [Fri, 18 Jun 1993 10:24:11 +0000 (10:24 +0000)]
* oasys.h: Eliminate "int8_type", "int16_type", "int32_type", and
their variants. These changes are coordinated with corresponding
changes in ../bfd/oasys.c.
Jim Kingdon [Fri, 18 Jun 1993 03:12:22 +0000 (03:12 +0000)]
* printcmd.c (print_formatted): Don't use tab in wrap_here arg.
Jim Kingdon [Fri, 18 Jun 1993 03:12:04 +0000 (03:12 +0000)]
* hosts/delta88.h: #if 0 out some declarations which conflict with
system headers.
Jim Kingdon [Fri, 18 Jun 1993 02:33:01 +0000 (02:33 +0000)]
* config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
Use VPRINTF macro if defined.
* config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
Define TIOC{GETC,GLTC}_BROKEN.
* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
make things easier on munch (apparently this matters on
the delta88 with svr3).
Jim Kingdon [Fri, 18 Jun 1993 02:32:27 +0000 (02:32 +0000)]
* Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include.
* config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
Use VPRINTF macro if defined.
* config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
Define TIOC{GETC,GLTC}_BROKEN.
* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
make things easier on munch (apparently this matters on
the delta88 with svr3).
Fred Fish [Fri, 18 Jun 1993 01:45:34 +0000 (01:45 +0000)]
* Makefile.in: Change extension for gzip'd files from '.z' to
'.gz' per new FSF standard usage.
Steve Chamberlain [Fri, 18 Jun 1993 01:31:54 +0000 (01:31 +0000)]
* gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
* run.c (main): Get profiling args.
Steve Chamberlain [Fri, 18 Jun 1993 01:30:34 +0000 (01:30 +0000)]
Fix install.
David D. Zuhn [Fri, 18 Jun 1993 01:00:13 +0000 (01:00 +0000)]
remove parentdir support
David D. Zuhn [Fri, 18 Jun 1993 00:35:08 +0000 (00:35 +0000)]
canonicalize install.sh location
David D. Zuhn [Thu, 17 Jun 1993 23:59:43 +0000 (23:59 +0000)]
quote program_transform_name value
David D. Zuhn [Thu, 17 Jun 1993 23:56:08 +0000 (23:56 +0000)]
canonicalize install.sh location
David D. Zuhn [Thu, 17 Jun 1993 23:55:23 +0000 (23:55 +0000)]
doc last change
David D. Zuhn [Thu, 17 Jun 1993 23:50:35 +0000 (23:50 +0000)]
get install.sh canonicalized
David D. Zuhn [Thu, 17 Jun 1993 23:50:01 +0000 (23:50 +0000)]
configure already add the -e
David MacKenzie [Thu, 17 Jun 1993 23:23:48 +0000 (23:23 +0000)]
Document -Map option.
Jim Kingdon [Thu, 17 Jun 1993 23:20:46 +0000 (23:20 +0000)]
hand-edited
David MacKenzie [Thu, 17 Jun 1993 22:55:38 +0000 (22:55 +0000)]
* ldgram.y: Tweak grammar to make reporting of invalid options work.
Steve Chamberlain [Thu, 17 Jun 1993 22:23:40 +0000 (22:23 +0000)]
Alpha host support.
Steve Chamberlain [Thu, 17 Jun 1993 22:16:07 +0000 (22:16 +0000)]
* configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
host.
* sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
wired (and wrong) constant.
* values.c (unpack_long): Add case to unpack when target object is
sizeof(int).
* config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
simulator defines.
Steve Chamberlain [Thu, 17 Jun 1993 22:02:49 +0000 (22:02 +0000)]
Understand more opcodes.
Steve Chamberlain [Thu, 17 Jun 1993 21:58:28 +0000 (21:58 +0000)]
* config/obj-coffbfd.c (fill_section): Don't allow fills backwards.
* config/tc-sh (get_specific, md_convert_frag,
md_estimate_size_before_relax): Add support for rest of opcodes.
Steve Chamberlain [Thu, 17 Jun 1993 21:49:48 +0000 (21:49 +0000)]
Support for constructors.
This page took 0.037345 seconds and 4 git commands to generate.