Jim Kingdon
a2fbd4c8e9
* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
...
sys/types.h near the top (just on general principles).
1993-08-09 19:17:04 +00:00
Ken Raeburn
36d701ab49
sanitize targets.c
1993-08-09 19:16:24 +00:00
Ian Lance Taylor
3036933a88
* ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
...
stringbase.
1993-08-09 18:32:39 +00:00
Jim Kingdon
b992d16b88
* environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
...
no longer used.
1993-08-09 17:49:27 +00:00
Ken Raeburn
6a9cf6fa53
* write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
...
defined or BFD is not.
(relax_and_size_all_segments): Declare local variable fragP.
1993-08-09 17:40:58 +00:00
Jim Kingdon
0685d95ff4
* gdbcore.h: New variable gnutarget.
...
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
putenv.
* symtab.c (decode_line_1): Give error on unmatched single quote.
1993-08-09 16:53:32 +00:00
Jim Kingdon
95a98b5efa
* ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
1993-08-08 21:02:37 +00:00
Jim Kingdon
3da5198c07
* remote.c: Add comments about 'd', 'r', and unrecognized requests.
...
* inflow.c (terminal_init_inferior): Don't muck with tty state if
gdb_has_a_terminal() is false.
1993-08-08 20:11:10 +00:00
Jim Kingdon
205c1ddc32
* gdb.t20/inherit.exp: Change message for "print tagless struct"
...
to state that this is a known bug in old versions of g++.
1993-08-08 19:27:10 +00:00
David MacKenzie
aedc02dff0
remove unused test
1993-08-08 19:22:54 +00:00
Jim Kingdon
810a7a82a0
* Makefile.in ({dist,real}clean): Use $(MAKE), not make.
1993-08-08 17:47:17 +00:00
Fred Fish
f645e83516
* dwarfread.c (record_minimal_symbol): Remove prototype and
...
function.
* dwarfread.c (add_partial_symbol): Remove code to add minimal
symbols and remove comment about limitations. Experiments show
that now that gdb handles the ELF symtab better for creating
minimal symbols, that no additional information is added by
examining the DWARF information, and in fact, given the
limitations, the DWARF code was actually making things worse.
1993-08-08 17:14:06 +00:00
Jim Kingdon
6117e42f9a
* gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
...
while waiting for `Continuing'.
1993-08-08 16:16:35 +00:00
David MacKenzie
105ceb6a62
cleanup
1993-08-08 02:14:01 +00:00
Fred Fish
6c8f91a1b7
* elfread.c (elf_symtab_read): Properly sort out the bss symbols
...
from the data symbols and give them the correct minimal_symbol_type.
Add file static symbols to the minimal symbol table, not just
global symbols. Add absolute symbols as well (like _edata, _end).
Redo stabs-in-elf special symbol handling now that file static
symbols are entered into the into the minimal symbol table.
1993-08-08 00:30:07 +00:00
David MacKenzie
61434ebb73
add pointer to config/README
1993-08-07 22:45:02 +00:00
David MacKenzie
2e39bde39f
document bfdsumm.texi
1993-08-07 22:43:02 +00:00
David MacKenzie
5f9a2245d8
make target selection fully configurable
1993-08-07 22:38:22 +00:00
Fred Fish
379dd96582
* elfread.c (elf_symtab_read): Properly sort out the bss symbols
...
from the data symbols and give them the correct minimal_symbol_type.
Add file static symbols to the minimal symbol table, not just
global symbols. Ignore symbols that are section names and file names.
* dwarfread.c (add_partial_symbol): Add comment about limitations
of DWARF symbols for distinquishing data from bss when adding
minimal symbols. Add file local symbols to minimal symbols.
1993-08-07 20:27:19 +00:00
Fred Fish
d8ab5dbf82
* gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
...
in text, data, and bss.
* gdb.t10/nodebug.c: Add local and global test variables for
initialized and uninitialized data.
1993-08-07 14:47:55 +00:00
Fred Fish
9ea71abfcf
* elfcode.h (elf_object_p): Add comment about what this function
...
does and to watch out for side effects. Add FIXME for memory leaks.
Fix comment about checking for matching byte order. Preserve
pointer to old tdata (if any), and restore it if we don't match
file with target vector. If we are going to use goto's, use them
consistently and maintainably.
* nlmcode.h (nlm_object_p): Expand comments about leaked memory
to note that the problem is even more serious than just leaked
memory. Replace goto with more traditional return.
1993-08-07 14:46:21 +00:00
David MacKenzie
dcdfa32cec
cleanups
1993-08-07 01:35:00 +00:00
David MacKenzie
b83bde3970
gpl -> lgpl
1993-08-07 01:12:47 +00:00
David MacKenzie
06dd4b5d10
update from FSF
1993-08-07 00:24:31 +00:00
David MacKenzie
3c14065d00
update from FSF
1993-08-07 00:06:35 +00:00
David MacKenzie
31f55aa540
clean up error messages
1993-08-06 20:13:28 +00:00
David MacKenzie
493a259370
add hp300bsd to default target vector
1993-08-06 20:11:42 +00:00
Ian Lance Taylor
70bec8b806
* ecoff.c (ecoff_set_symbol_info): Removed special handling for
...
scBss and scSBss symbols, since it was wrong.
1993-08-06 20:04:22 +00:00
Ken Raeburn
153cb9ade3
* libelf.h (NAME): Provide a default definition, that's neither
...
for 32 bits nor for 64.
Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org )
* libelf.h (elf_hash): Change declaration to bfd_elf_hash, since
that is what is in elf.c.
1993-08-06 19:29:57 +00:00
Ken Raeburn
b114e49215
changes to write.c, obj-elf.c, tc-sparc.c
1993-08-06 19:27:43 +00:00
Ken Raeburn
d37258ccdd
v9 changes
1993-08-06 19:24:28 +00:00
Ian Lance Taylor
014e4e9981
* Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
...
coffcode.h.
1993-08-06 19:17:36 +00:00
Ian Lance Taylor
c39fcfdca8
* coffcode.h (sec_to_styp_flags): Inspired by mb@tti.COM (Michael
...
Bloom): Only set STYP_BSS for SEC_ALLOC sections.
1993-08-06 19:12:47 +00:00
Ian Lance Taylor
3d2330f897
* configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
...
targets, using ecoff and mips-big.
1993-08-06 18:46:17 +00:00
Ian Lance Taylor
3353630442
* scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
...
(BSS_VAR): Removed; now always define _fbss.
* emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
Removed.
1993-08-06 18:35:03 +00:00
Ian Lance Taylor
8c11363a29
* ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul
...
<arnej@kari.fm.unit.no>: Handle a COFF style armap.
1993-08-06 16:39:44 +00:00
Ken Raeburn
9242112213
(md_apply_fix): Fill in values for BFD_RELOC_{32,64}, not zeros.
...
(md_pseudo_table): Handle .uaxword.
1993-08-06 16:10:40 +00:00
Ian Lance Taylor
11a0aaa785
* mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
...
coprocessor instructions out of #if 0, and made them use new
argument type "C".
1993-08-06 15:20:49 +00:00
Ian Lance Taylor
ac32a7e7df
* config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
...
Johnson): Added case for 'C' for coprocessor instruction codes.
1993-08-06 15:14:31 +00:00
Jim Kingdon
a61a4125ed
* hpux-core.c: Cast return value from bfd_zalloc.
1993-08-06 15:06:23 +00:00
Jim Kingdon
e917bef39f
* ser-go32.c: Define job_control variable.
1993-08-06 07:25:02 +00:00
Jim Kingdon
80b4aa1c07
* ser-go32.c: Define job_control variable.
1993-08-06 07:11:16 +00:00
David D. Zuhn
5dd8d83fdf
use mh-hp300
1993-08-05 23:15:04 +00:00
David D. Zuhn
b39a398da5
handle z8k-coff
1993-08-05 22:57:13 +00:00
David MacKenzie
867a1b8a18
error fixes and clarifications
1993-08-05 22:49:26 +00:00
David D. Zuhn
a9cad59194
new file for hp300 hosts
1993-08-05 22:46:44 +00:00
Jim Kingdon
071689e1ad
* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
1993-08-05 22:16:40 +00:00
Ken Raeburn
b23f674392
(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
...
(merge_data_into_text, relax_and_size_all_segments): New fns, split out from
write_object_file.
1993-08-05 21:21:30 +00:00
Ken Raeburn
b12193c073
Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes
1993-08-05 19:23:43 +00:00
Jim Kingdon
038de4933e
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
1993-08-05 19:06:24 +00:00