Commit graph

2234 commits

Author SHA1 Message Date
John Gilmore
8c37855922 * 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.
1992-01-31 08:45:11 +00:00
John Gilmore
ab68b260f6 * 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.
1992-01-31 07:59:13 +00:00
John Gilmore
3863d64f95 * 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.
1992-01-31 07:54:12 +00:00
Stu Grossman
d58ea9967b * infrun.c, xm-i386sco.h: SCO needs to use setpgid().CVS: 1992-01-31 01:24:34 +00:00
Stu Grossman
d7b524c09e Bump VERSION to 4.3.92. 1992-01-31 00:41:28 +00:00
Stu Grossman
588d21ac35 Fix checkin botch. 1992-01-31 00:32:38 +00:00
Stu Grossman
92732c2789 * bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in:
Fix SCO configuration stuff.
1992-01-31 00:24:21 +00:00
Per Bothner
ab43e4e35c Change DEFAULT_VECTOR to host_aout_vec here as well. 1992-01-30 21:04:42 +00:00
Stu Grossman
fa8c88b29d * 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.
1992-01-30 19:42:52 +00:00
Steve Chamberlain
21a7f8b6de 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
1992-01-30 15:30:34 +00:00
John Gilmore
d89b9f991b * 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.
1992-01-30 09:21:33 +00:00
John Gilmore
0aa70210e4 Remove trailing comma from enum. 1992-01-30 09:19:24 +00:00
John Gilmore
14144df4c9 * 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.
1992-01-30 09:14:21 +00:00
John Gilmore
32c298e08f * 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.
1992-01-30 09:06:49 +00:00
Per Bothner
d4ea2aba3a Various fixed triggered by trying to do the right thing wrt
to external symbols in mips ecoff binaries.  See ChangeLog.
1992-01-30 03:56:32 +00:00
Stu Grossman
0515163751 * sparc-pinsn.c (compare_opcodes): Make it prefer v6, v7,
cypress, v8 mnemonics in that order.
1992-01-30 03:01:00 +00:00
K. Richard Pixley
60048a2cee add bootstrap target 1992-01-29 22:47:09 +00:00
Steve Chamberlain
0cc6a79622 ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section
1992-01-29 16:44:09 +00:00
Steve Chamberlain
cbbdbb9f29 * 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
1992-01-29 16:43:16 +00:00
Per Bothner
4cc027e126 * 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++.
1992-01-29 07:52:01 +00:00
Stu Grossman
cc35cb05ce * sparc.h: fix opcode for tsubcctv. 1992-01-29 07:01:25 +00:00
Fred Fish
d01cd8fc75 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.
1992-01-29 05:16:49 +00:00
Per Bothner
4a074bea28 Put the qsort() back in in sparc-pinsn.c 1992-01-29 01:33:48 +00:00
Roland Pesch
69bbcf05f4 Credits for GDB 4.4 (and correction to credits for 3.9). 1992-01-29 01:27:36 +00:00
Roland Pesch
151760d0d7 bfd.c: use `<<foo>>' instead of @file{foo}
section.c, syms.c: @* rather than * at beginning of menu lines
1992-01-29 01:04:30 +00:00
Stu Grossman
2b74083cb8 * trad-core.c, bfd.c, ../include/bfd.h: Various fixes for PMAX
core reading.
1992-01-28 22:53:51 +00:00
K. Richard Pixley
584a0f78d9 rcsid's removed 1992-01-28 20:38:08 +00:00
Steve Chamberlain
3bdb6bf8c4 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
displacements don't get printed as large +ve ones.
1992-01-28 19:12:16 +00:00
Steve Chamberlain
087eb65291 * coffcode.h (bfd_coff_relax_section): now static.
(bfd_coff_get_relocated_section_contents): various type lints.
1992-01-28 18:48:07 +00:00
Steve Chamberlain
870f54b2c8 * 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
1992-01-28 18:21:36 +00:00
Steve Chamberlain
daa91756f1 * bfd.h : new target entr, bfd_relax_section 1992-01-28 06:02:01 +00:00
Steve Chamberlain
6590a8c953 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
1992-01-28 06:01:25 +00:00
Steve Chamberlain
9ce31b6601 obj-coff* now copes with C mingled listings
tc-h8300.c: better error messages
1992-01-28 03:43:23 +00:00
Steve Chamberlain
fa4b55a1b1 Development checkpoint 1992-01-28 03:33:04 +00:00
John Gilmore
eae1a26123 * findvar.c (read_register, write_register): Handle machines
where REGISTER_TYPE is not the same size as "int".
1992-01-28 03:20:39 +00:00
John Gilmore
c55e616795 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.
1992-01-28 02:57:37 +00:00
John Gilmore
f005e85b88 Remove obsolete START_INFERIOR_HOOK. 1992-01-28 02:49:12 +00:00
Stu Grossman
0bd83fd723 Oops, checked in version with the wrong stuff enabled. Turn it off... 1992-01-28 02:38:11 +00:00
Stu Grossman
d93b79d97d Rename remote-hds.c to remote-hms.c. 1992-01-28 02:30:27 +00:00
Stu Grossman
3c03b5de58 * dbxread.c (process_one_symbol): Make a first cut at handling
symbol tables generated by Suns acc.
1992-01-28 02:24:08 +00:00
Jim Wilson
1395529c9d Steve's version_path stuff bites the dust. 1992-01-28 00:38:04 +00:00
Stu Grossman
1aa560b2ea * symtab.c (find_pc_line): Fix stepping into and out of #included
files.
1992-01-27 23:52:11 +00:00
John Gilmore
5a4e721505 * buildsym.c (read_struct_type): Circumvent sun3 sunos "--" compiler bug.
* c-exp.y (yylex):  `this' and `template' are only tokens in C++.
* target.c (target_xfer_memory):  Return errno in preference to EIO.
1992-01-27 22:10:05 +00:00
Stu Grossman
dc72b0b679 Add seclet.h to files-to-keep. 1992-01-27 21:48:38 +00:00
John Gilmore
3818ed33a9 * xm-convex.h, xm-hp300bsd.h, xm-isi.h, xm-merlin.h, xm-news.h,
xm-np1.h, xm-pn.h, xm-pyr.h, xm-rtbsd.h, xm-symmetry.h, xm-umax.h:
Remove MISSING_VPRINTF declaration, and superfluous "kgdb" defines.
1992-01-27 21:45:35 +00:00
Stu Grossman
71f49876db * Makefile.in (OPCODES): Remove OPCODES defs and refs. There is
no longer any need to copy ../include/opcode/* into gdb.
1992-01-27 21:04:55 +00:00
John Gilmore
ee799e2a92 Add ChangeLog-9091 1992-01-27 20:32:50 +00:00
John Gilmore
fd8db897af Split ChangeLog out at Jan 1, 1992. 1992-01-27 20:32:19 +00:00
Fred Fish
2213b721f0 Update with numerous changes received from current maintainer (Peggy
Fieland).  Should not effect release at all.
1992-01-27 16:23:11 +00:00
Michael Tiemann
7c4f3f4a2f Delete a superfluous space. 1992-01-27 08:51:16 +00:00