K. Richard Pixley [Fri, 7 Feb 1992 21:46:30 +0000 (21:46 +0000)]
keep configure.texi
Steve Chamberlain [Fri, 7 Feb 1992 21:07:18 +0000 (21:07 +0000)]
Fixed prototype mismatch reported by MDT
Heinz G. Seidl [Fri, 7 Feb 1992 20:14:25 +0000 (20:14 +0000)]
need bfd for mips
John Gilmore [Fri, 7 Feb 1992 16:23:57 +0000 (16:23 +0000)]
* buildsym.c (read_struct_type): Avoid double-bump of parse ptr
in the op$::OPERATOR. case. From Steven McCanne, <mccanne@horse.ee.lbl.gov>.
John Gilmore [Fri, 7 Feb 1992 15:57:32 +0000 (15:57 +0000)]
* exec.c (set_section_name): Pass arg to exec_files_info;
only call it if interactive. From Francis Kauth <fk@tv.tv.tek.com>.
John Gilmore [Fri, 7 Feb 1992 15:55:35 +0000 (15:55 +0000)]
* configure.in: Ultrix is only a decstation if it's a MIPS.
Michael Tiemann [Fri, 7 Feb 1992 07:52:08 +0000 (07:52 +0000)]
Add ${srcdir} for makefile_frags.
K. Richard Pixley [Fri, 7 Feb 1992 02:04:53 +0000 (02:04 +0000)]
Optimized Makefile generation for a ~30% time win.
John Gilmore [Fri, 7 Feb 1992 01:43:22 +0000 (01:43 +0000)]
* main.c (print_gdb_version): Copyright msg: only this year.
(cd_command): Avoid changing current_directory on error.
K. Richard Pixley [Fri, 7 Feb 1992 00:36:15 +0000 (00:36 +0000)]
Patch joins devo.
Steve Chamberlain [Fri, 7 Feb 1992 00:33:57 +0000 (00:33 +0000)]
Fluff removal.
K. Richard Pixley [Fri, 7 Feb 1992 00:33:49 +0000 (00:33 +0000)]
Fix so that "guested" configure scripts work when using -srcdir.
Per Bothner [Thu, 6 Feb 1992 23:24:30 +0000 (23:24 +0000)]
* mipsread.c (parse_partial_symbols): Handle dependencies
between partial symbol tables (when not doing stabs-in-ecoff).
(This used to be handled by parse_fdr, but parse_fdr was
incompatible with handling stabs-in-ecoff, so the code
was re-written to not use parse_fdr. Unfortunately,
the logic to handle dependencies was overlooked.)
Steve Chamberlain [Thu, 6 Feb 1992 20:15:19 +0000 (20:15 +0000)]
* objdump.c (disassemble_data): don't print a section's contents
if it's not loadable (eg bss)
Steve Chamberlain [Thu, 6 Feb 1992 20:09:39 +0000 (20:09 +0000)]
* as.c: added new option -ad for hll listings without debug info
* listing.c,listing.h: support for new listings, and more for forgiving
when lied to about where linenumbers are.
* config/obj-coffbfd.c (do_linenos_for): relocate line numbers
correctly.
Steve Chamberlain [Thu, 6 Feb 1992 20:03:31 +0000 (20:03 +0000)]
* coffread.c (read_enum_type): Use the size of a target int when
describing enum.
* defs.h: added new #define for TARGET_PTR_BIT, defaults to size
of target int.
* h8300-tdep.c, remote-hms.c, tm-h8300.h: too many changes to count
* symtab.c (lookup_reference_type, lookup_ptr_type): use
TARGET_PTR_BIT to determine size of a pointer
* values.c (unpack_long): when unpacking a REF or a PTR don't
assume the size of the type.
Steve Chamberlain [Thu, 6 Feb 1992 19:44:44 +0000 (19:44 +0000)]
From h8300hds*
Steve Chamberlain [Thu, 6 Feb 1992 19:43:25 +0000 (19:43 +0000)]
* config/mt-coff-h8300: use EMUL like everything else
* ldlang.c: (print_padding_statement): print the right address.
* Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
Steve Chamberlain [Thu, 6 Feb 1992 19:22:03 +0000 (19:22 +0000)]
* coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
"done_lineno" so that a symbol which appears twice in the symbol
table only gets it's linenumbers relocated once. Modifed
(coff_write_native_symbol) and (coff_make_empty_symbol) to make
John Gilmore [Thu, 6 Feb 1992 06:33:15 +0000 (06:33 +0000)]
* mipsread.c (parse_symbol): Avoid clobbering enum pointer when
looking at its members. Improve guess between struct and union,
only assuming union if multiple members have offsets of zero.
K. Richard Pixley [Thu, 6 Feb 1992 04:05:26 +0000 (04:05 +0000)]
reversed tense on a test -> case conversion
K. Richard Pixley [Thu, 6 Feb 1992 01:21:44 +0000 (01:21 +0000)]
Converting "[ -n" and "[ -z" into case statements looks like a small
time penalty for modern shells which have "[" builtin. I've elected
to take it anyway as a compensation for older, slower shells.
K. Richard Pixley [Thu, 6 Feb 1992 01:02:21 +0000 (01:02 +0000)]
support for subdirs, multiple hosts, and multiple targets was
previously commented out. This delta removes it entirely. This makes
a small time difference on cygint.
K. Richard Pixley [Thu, 6 Feb 1992 00:36:10 +0000 (00:36 +0000)]
Removing unnecessary ()'s doesn't seem to make any time difference on
cygint. I think modern shell's execute this internally without a call
to a separate shell process. I've left the change in anyway. It may
help on older, slower machines.
Per Bothner [Wed, 5 Feb 1992 02:14:31 +0000 (02:14 +0000)]
Mips-specific bug-fix (for stabs-in-ecoff), and style fix. See ChangeLog.
Steve Chamberlain [Tue, 4 Feb 1992 23:42:34 +0000 (23:42 +0000)]
* aoutx.h: (translate_from_native_sym_flags): fix constructor
stuff to use the New Order.
Steve Chamberlain [Tue, 4 Feb 1992 23:29:33 +0000 (23:29 +0000)]
* ldlex.l: Put pack -noinhibit-exec and -sort-common
* ldlang.c (print_data_statement): print the right address.
Michael Tiemann [Sun, 2 Feb 1992 21:12:25 +0000 (21:12 +0000)]
Work around for problems in linking C++ programs that need file-level
initialization. Now C++ programs can be linked.
Heinz G. Seidl [Sun, 2 Feb 1992 04:53:15 +0000 (04:53 +0000)]
do not build ld, bfd, ... for decstatn
Stu Grossman [Sat, 1 Feb 1992 12:46:55 +0000 (12:46 +0000)]
* xm-vax.h, xm-vaxult.h, xm-vaxbsd.h, config/mh-vaxult,
config/mh-vaxbsd, configure.in: Split up config stuff for Vaxen
into BSD and Ultrix.
John Gilmore [Sat, 1 Feb 1992 12:41:01 +0000 (12:41 +0000)]
Call malloc, not xmalloc, when we check the result and recover from errors.
Stu Grossman [Sat, 1 Feb 1992 12:39:08 +0000 (12:39 +0000)]
VERSION should have been 4.4.1, not 4.5...
Stu Grossman [Sat, 1 Feb 1992 12:20:10 +0000 (12:20 +0000)]
* Makefile.in: Increment version to 4.5.
* main.c (print_gdb_version): Update copyright notice.
Stu Grossman [Sat, 1 Feb 1992 05:49:27 +0000 (05:49 +0000)]
* config.sub (near case $os): Don't convert newsos* to bsd!CVS:
Stu Grossman [Sat, 1 Feb 1992 05:47:28 +0000 (05:47 +0000)]
* xm-vax.h: #ifndef ultrix around #include of endian.h and
limits.h (sigh).
John Gilmore [Sat, 1 Feb 1992 02:40:06 +0000 (02:40 +0000)]
Avoid references to files that aren't assigned to FSF.
John Gilmore [Sat, 1 Feb 1992 02:26:43 +0000 (02:26 +0000)]
Typo of my own
Stu Grossman [Sat, 1 Feb 1992 02:22:07 +0000 (02:22 +0000)]
threecol.tex no longer exists.
John Gilmore [Sat, 1 Feb 1992 02:09:19 +0000 (02:09 +0000)]
Update WHATS.NEW for gdb-4.4 release.
John Gilmore [Sat, 1 Feb 1992 01:45:02 +0000 (01:45 +0000)]
A typo and a thinko.
John Gilmore [Sat, 1 Feb 1992 01:44:31 +0000 (01:44 +0000)]
Update for gdb-4.4 release.
Stu Grossman [Sat, 1 Feb 1992 01:31:31 +0000 (01:31 +0000)]
foo
Steve Chamberlain [Sat, 1 Feb 1992 00:50:35 +0000 (00:50 +0000)]
A change to the makefile got lost; ldmain. forgot that it should set
DEFAULT_EMULATION, so ld didn't know who it was.
Stu Grossman [Sat, 1 Feb 1992 00:41:18 +0000 (00:41 +0000)]
Distribute lpsrc.sed, remove rc-*.
John Gilmore [Sat, 1 Feb 1992 00:18:44 +0000 (00:18 +0000)]
Update comments to make it clear that the copyright status is UNCLEAR.
John Gilmore [Sat, 1 Feb 1992 00:17:31 +0000 (00:17 +0000)]
Comment changes.
John Gilmore [Sat, 1 Feb 1992 00:03:05 +0000 (00:03 +0000)]
Remove references to i860 files whose copyrights have not been assigned
to FSF yet.
John Gilmore [Fri, 31 Jan 1992 23:51:44 +0000 (23:51 +0000)]
Remove i860 files, which do not have clear copyright assignments.
John Gilmore [Fri, 31 Jan 1992 23:17:40 +0000 (23:17 +0000)]
Half-updated version for Stu to work on.
John Gilmore [Fri, 31 Jan 1992 22:35:49 +0000 (22:35 +0000)]
Remove some entries that were already recorded on Dec 11th.
John Gilmore [Fri, 31 Jan 1992 22:16:45 +0000 (22:16 +0000)]
* Projects: Patching executables is done.
* Makefile.in (VERSION): Roll to gdb-4.4.
* README: Update for gdb-4.4.
John Gilmore [Fri, 31 Jan 1992 20:37:24 +0000 (20:37 +0000)]
* symfile.c (reread_symbols): Whenever we reread one object
file's symbols, we must restart the scan, because the object_files
chain has been permuted.
Stu Grossman [Fri, 31 Jan 1992 09:37:59 +0000 (09:37 +0000)]
* elf.c (bfd_section_from_shdr): Deal with null return from
bfd_make_section(). (elf_object_p): Select endianess properly.
John Gilmore [Fri, 31 Jan 1992 09:21:14 +0000 (09:21 +0000)]
Fix core file stacks.
John Gilmore [Fri, 31 Jan 1992 09:20:58 +0000 (09:20 +0000)]
Fix stack in core files.
John Gilmore [Fri, 31 Jan 1992 08:52:21 +0000 (08:52 +0000)]
Use regex package on Vax BSD.
John Gilmore [Fri, 31 Jan 1992 08:50:52 +0000 (08:50 +0000)]
* language.c, language.h: Make some things const.
* expression.h, main.c: const spreads like ooze.
John Gilmore [Fri, 31 Jan 1992 08:49:34 +0000 (08:49 +0000)]
* xm-vax.h: Include some system include files before our own
definitions in defs.h.
John Gilmore [Fri, 31 Jan 1992 08:45:11 +0000 (08:45 +0000)]
* exec.c (exec_files_info): Split out into print_section_info.
Print BFD filename of each section if it's not the default one.
* core.c (core_files_info): Call print_section_info.
John Gilmore [Fri, 31 Jan 1992 07:59:13 +0000 (07:59 +0000)]
* hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
Specify byte order.
* hosts/h-vaxbsd.h: Define the form of exec and core files.
John Gilmore [Fri, 31 Jan 1992 07:54:12 +0000 (07:54 +0000)]
* Makefile.in: host-aout.c doesn't depend on aout-params.h.
* aout-target.h: Use TARGET_BIG_ENDIAN_P to set up vector.
* host-aout.c: Don't use aout-params.h; configure these systems
in their xm files, not in a randomly generated file.
Stu Grossman [Fri, 31 Jan 1992 01:24:34 +0000 (01:24 +0000)]
* infrun.c, xm-i386sco.h: SCO needs to use setpgid().CVS:
Stu Grossman [Fri, 31 Jan 1992 00:41:28 +0000 (00:41 +0000)]
Bump VERSION to 4.3.92.
Stu Grossman [Fri, 31 Jan 1992 00:32:38 +0000 (00:32 +0000)]
Fix checkin botch.
Stu Grossman [Fri, 31 Jan 1992 00:24:21 +0000 (00:24 +0000)]
* bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in:
Fix SCO configuration stuff.
Per Bothner [Thu, 30 Jan 1992 21:04:42 +0000 (21:04 +0000)]
Change DEFAULT_VECTOR to host_aout_vec here as well.
Stu Grossman [Thu, 30 Jan 1992 19:42:52 +0000 (19:42 +0000)]
* host-aout.c: Change TARGETNAME to "a.out" to be compatible with
gdb. config/mt-hp300bsd: Change DEFAULT_VECTOR to host_aout_vec
to prevent undefined symbol.
Steve Chamberlain [Thu, 30 Jan 1992 15:30:34 +0000 (15:30 +0000)]
Various lints found on PersSony
* aoutx.h: cast an enum
* coff-a29k.c: many ints in reloc structure turned to enum
* coffcode.h: more enums
* cpu-h8300.c: more enums
* opncls.c: more enums
John Gilmore [Thu, 30 Jan 1992 09:21:33 +0000 (09:21 +0000)]
* configure.in: Make Tahoe configuration work again.
* bfd-in.h: Remove trailing comma from enum declaration.
* ieee.c: Can't put byte values >0x7F into a signed char.
John Gilmore [Thu, 30 Jan 1992 09:19:24 +0000 (09:19 +0000)]
Remove trailing comma from enum.
John Gilmore [Thu, 30 Jan 1992 09:14:21 +0000 (09:14 +0000)]
* sparc.h: Remove "cypress" architecture. Remove "fitox" and
similar instructions -- they've been renamed to "fitoq", etc.
REALLY fix tsubcctv. Fix "fcmpeq" and "fcmpq" which had wrong
number of arguments.
* h8300.h: Remove extra ; which produces compiler warning.
John Gilmore [Thu, 30 Jan 1992 09:06:49 +0000 (09:06 +0000)]
* sparc-pinsn.c: Remove kludge for preferring architectures.
Remove #ifdef's for SORT_NEEDED. We need to sort the table, now
and forever. Add `add' instruction to the set that get checked
for a preceding `sethi' in order to print an absolute address.
Corresponding changes in ../include/opcode/sparc.h needed
to eliminate garbage instructions.
Per Bothner [Thu, 30 Jan 1992 03:56:32 +0000 (03:56 +0000)]
Various fixed triggered by trying to do the right thing wrt
to external symbols in mips ecoff binaries. See ChangeLog.
Stu Grossman [Thu, 30 Jan 1992 03:01:00 +0000 (03:01 +0000)]
* sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
cypress, v8 mnemonics in that order.
K. Richard Pixley [Wed, 29 Jan 1992 22:47:09 +0000 (22:47 +0000)]
add bootstrap target
Steve Chamberlain [Wed, 29 Jan 1992 16:44:09 +0000 (16:44 +0000)]
ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section
Steve Chamberlain [Wed, 29 Jan 1992 16:43:16 +0000 (16:43 +0000)]
* config/mh-sparc.h: now uses libgcc.a
* ldmain.c: quit using exit
* *.sc: use *(COMMON) rather than [COMMON]
* ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
to allow preprocessing of .l file.
* Makefile.in: New ldlex.l mangling
* ldexp.c (fold_binary): perform expressions with % and / in
integer.
* ldfile.c (open_a): open archives on VMS in a special way
* lderror.c: forgot to check in from a long while ago
Per Bothner [Wed, 29 Jan 1992 07:52:01 +0000 (07:52 +0000)]
* Makefile.in: For libg++, make sure the -I pointing
to the gcc directory goes *after* all the libg++-local -I flags.
Also, move just-gcc dependency from just-libg++ to all-libg++.
Stu Grossman [Wed, 29 Jan 1992 07:01:25 +0000 (07:01 +0000)]
* sparc.h: fix opcode for tsubcctv.
Fred Fish [Wed, 29 Jan 1992 05:16:49 +0000 (05:16 +0000)]
Makefile.in: Add dependencies for various coff-*.o files.
elf.c: Remove extraneous paren from core_prpsinfo and core_prpstatus
macros, rename core_prpstatus to core_prstatus. Replace references to
old section "size" member with new "_raw_size" member. Implement
elf_make_empty_symbol, which is now used.
Per Bothner [Wed, 29 Jan 1992 01:33:48 +0000 (01:33 +0000)]
Put the qsort() back in in sparc-pinsn.c
Roland Pesch [Wed, 29 Jan 1992 01:27:36 +0000 (01:27 +0000)]
Credits for GDB 4.4 (and correction to credits for 3.9).
Roland Pesch [Wed, 29 Jan 1992 01:04:30 +0000 (01:04 +0000)]
bfd.c: use `<<foo>>' instead of @file{foo}
section.c, syms.c: @* rather than * at beginning of menu lines
Stu Grossman [Tue, 28 Jan 1992 22:53:51 +0000 (22:53 +0000)]
* trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAX
core reading.
K. Richard Pixley [Tue, 28 Jan 1992 20:38:08 +0000 (20:38 +0000)]
rcsid's removed
Steve Chamberlain [Tue, 28 Jan 1992 19:12:16 +0000 (19:12 +0000)]
* m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
displacements don't get printed as large +ve ones.
Steve Chamberlain [Tue, 28 Jan 1992 18:48:07 +0000 (18:48 +0000)]
* coffcode.h (bfd_coff_relax_section): now static.
(bfd_coff_get_relocated_section_contents): various type lints.
Steve Chamberlain [Tue, 28 Jan 1992 18:21:36 +0000 (18:21 +0000)]
* ldgram.y: map -M behave in the same way as -Map (sets file name
to be "-".
* ldsym.c, ldlang.c: remember that size of a section is dependent on
whether or not relaxing has been done.
* ldmain.c: don't open a map file if it doesn't have a name
* relax.c: all the brains have moved into bfd.
* ldwrite.c: ammend comment
Steve Chamberlain [Tue, 28 Jan 1992 06:02:01 +0000 (06:02 +0000)]
* bfd.h : new target entr, bfd_relax_section
Steve Chamberlain [Tue, 28 Jan 1992 06:01:25 +0000 (06:01 +0000)]
New entry point in the transfer vector - bfd_relax_section.
* aout-target.h: add to vector, call generic_relax
* bfd-in.h: add to vector
* bfd.c: add #define for vector
* bout.c: add to vector, call generic_relax
* coffcode.h: add to vector, also now has coff specific relax code
for the relaxable H8/300 relocs. Also clean up abs section cruft.
* elf.c: call generic_relax
* ieee.c: call new vector, clean up some bugs due to the creation
of bfd_abs_section
* libbfd.h: add bfd_generic_relax_section EXFUN
* oasys.c: call generic_relax
* reloc.c: implement generic_relax
* seclet.c: moved much of this into coffcode.h
* srec.c: call generic_relax
* targets.c: define new transfer vector
Steve Chamberlain [Tue, 28 Jan 1992 03:43:23 +0000 (03:43 +0000)]
obj-coff* now copes with C mingled listings
tc-h8300.c: better error messages
Steve Chamberlain [Tue, 28 Jan 1992 03:33:04 +0000 (03:33 +0000)]
Development checkpoint
John Gilmore [Tue, 28 Jan 1992 03:20:39 +0000 (03:20 +0000)]
* findvar.c (read_register, write_register): Handle machines
where REGISTER_TYPE is not the same size as "int".
John Gilmore [Tue, 28 Jan 1992 02:57:37 +0000 (02:57 +0000)]
Handle debug symbols in dynamically loaded (relocated) code:
* dbxread.c (read_ofile_symtab): Fix up N_CATCH better. Pass
offset to process_one_symbol.
(process_one_symbol): Take new offset parameter. Add it into
appropriate symbol types to relocate symbols to loaded addresses.
Handle all possible symbol types, and complain() about types that
we don't expect to see.
* mipsread.c (psymtab_to_symtab_1): Pass offset of zero to
process_one_symbol (FIXME, should pass real offset).
Misc bugfixes:
* breakpoint.c (resolve_sal_pc): Split out code to resolve a
sal's PC value.
(set_breakpoint, break_command_1, until_break_command,
catch_command_1, breakpoint_re_set_one): Use it.
(breakpoint_re_set_one): Disable bkpts that don't re-set cleanly.
(breakpoint_re_set): Mention breakpoint number in error messages.
* symtab.h (resolve_sal_pc): Declare.
* infcmd.c (jump_command): Use resolve_sal_pc.
* source.c (find_source_lines): Avoid "Source file is more
recent than executable" when bfd_get_mtime gives 0.
(list_command): Shorten "FILE, line N" to "FILE:N".
* putenv.c (putenv): Avoid unportably casting pointers to unsigneds.
John Gilmore [Tue, 28 Jan 1992 02:49:12 +0000 (02:49 +0000)]
Remove obsolete START_INFERIOR_HOOK.
Stu Grossman [Tue, 28 Jan 1992 02:38:11 +0000 (02:38 +0000)]
Oops, checked in version with the wrong stuff enabled. Turn it off...
Stu Grossman [Tue, 28 Jan 1992 02:30:27 +0000 (02:30 +0000)]
Rename remote-hds.c to remote-hms.c.
Stu Grossman [Tue, 28 Jan 1992 02:24:08 +0000 (02:24 +0000)]
* dbxread.c (process_one_symbol): Make a first cut at handling
symbol tables generated by Suns acc.
Jim Wilson [Tue, 28 Jan 1992 00:38:04 +0000 (00:38 +0000)]
Steve's version_path stuff bites the dust.
Stu Grossman [Mon, 27 Jan 1992 23:52:11 +0000 (23:52 +0000)]
* symtab.c (find_pc_line): Fix stepping into and out of #included
files.