Jim Kingdon
5a356fb84f
* config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
...
REGEX.
* config/i386/xm-linux.h: Don't include xm-i386v.h. Define
HOST_BYTE_ORDER ourselves. Define HAVE_TERMIOS not HAVE_TERMIO.
Define NEED_POSIX_SETPGID. Include unistd.h.
1993-11-15 23:29:10 +00:00
Steve Chamberlain
863099f41e
* remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
...
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.
* h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
(sim_load): delete.
* remote-sim.c (sim_load): Use gr_load_image.
* config/sh/sh.mt: Add remote-e7000
1993-11-15 23:26:56 +00:00
Steve Chamberlain
cdf73c5c3b
Initial revision
1993-11-15 23:25:03 +00:00
Steve Chamberlain
ef419d261c
Why does cvs keep core dumping?
1993-11-15 23:22:31 +00:00
Steve Chamberlain
bf2429ab86
* remote-utils.c, remote-utils.h (gr_load_image): New function to
...
download to target.
1993-11-15 23:21:29 +00:00
Jim Kingdon
1c50f634d1
* mh-linux: Don't put -static in LDFLAGS. Add comments.
1993-11-15 23:01:36 +00:00
David D. Zuhn
90081eca02
usr cr instead of cq in AR_FLAGS
1993-11-15 21:44:18 +00:00
Kung Hsu
adbdb5276a
Modified Files:
...
ChangeLog symtab.c
* symtab.c(gdb_mangle_name): fix the problem with constructor
name mangling.
1993-11-15 20:40:03 +00:00
Jim Kingdon
dda398c369
* gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
...
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
what cleanup_undefined_types does for arrays, except we clear
TYPE_FLAG_TARGET_STUB if we fix up the type.
* stabsread.c (cleanup_undefined_types): Add comments about how
doing arrays here is no longer the clean way to do it.
(read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
add_undefined_type.
* c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
outside switch so it happens for all type codes.
* cp-valprint.c (cp_print_value_fields): Recurse to val_print,
instead of c_val_print, so that check_stub_type gets called.
* gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
TYPE_FLAG_SIGNED. It was inconsistently set, never checked
(except in recursive_dump_type), and is pointless.
1993-11-15 20:13:30 +00:00
Ken Raeburn
f130fb33e5
* Makefile.in (diststuff): New target.
...
* VERSION: Updated.
1993-11-15 20:10:49 +00:00
Jeff Law
3be544982d
* som.c (som_object_setup): Do not create dummy ".text", ".data",
...
and ".bss" sections.
(setup_sections): Do not set SEC_HAS_CONTENTS if a section's size
is zero. Recognize BSS type sections and turn off SEC_LOAD and
SEC_DATA (so binutils/size works). Set the correct value for
a section's _raw_size.
(som_slurp_symbol_table): Program entry points, and millicode are
also functions. Mark them as such. Also mark L$* symbols as
debugging symbols.
1993-11-15 08:43:36 +00:00
Jeff Law
db98e4d85e
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
...
than the .text section.
1993-11-15 08:42:01 +00:00
Jeff Law
097960116a
* bfd-in2.h: Rebuilt.
1993-11-15 07:34:01 +00:00
Jim Kingdon
f6d7df5638
* stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
...
this (more or less) gracefully, and complain() was never a good
way of dealing with this.
1993-11-15 05:36:36 +00:00
Jeff Law
cca528fa66
* objdump.c (dump_stabs): Handle stabs-in-som as implemented
...
by the new BFD SOM assembler.
1993-11-14 08:29:27 +00:00
Jeff Law
20fde16acc
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
...
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 07:20:53 +00:00
Jim Kingdon
dd06d920c8
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 06:50:42 +00:00
Jim Kingdon
79cf7e1f33
* stabsread.c (read_type): Skip the colon when reading a
...
cross-reference. Only complain, not error_type, on unrecognized
cross-reference types. error_type, not dump core, if the colon is
missing.
1993-11-14 06:40:47 +00:00
Jim Kingdon
f50cb1a34d
* stabs.texinfo (Nested Symbols): New node.
...
(String Field, Symbol Descriptors, Cross-References): Refer to it.
1993-11-14 06:33:55 +00:00
Jim Kingdon
68702ea3dd
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 05:57:47 +00:00
Jim Kingdon
aad143dc5d
* gdb.stabs: Re-write weird.def and configuration to use sed
...
instead of cpp. sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00
Jeff Law
91c0bcbbd0
* som.c (som_bfd_reloc_type_lookup): Add missing prototype. Returns
...
a pointer to constant data. Delete bogus #define which made the
function useless.
1993-11-14 01:32:09 +00:00
Jeff Law
6eb644081a
* som.c (som_begin_writing): New function.
1993-11-14 00:56:58 +00:00
Jeff Law
0b35f7ec59
* som.c (som_write_space_strings): New function.
...
(som_write_symbol_strings): New function.
1993-11-14 00:33:00 +00:00
Jeff Law
9d0dea6fca
* som.c (som_write_fixups): New function.
1993-11-14 00:00:05 +00:00
Jeff Law
aff9779048
* som.c (som_prep_for_fixups): New function.
1993-11-13 23:28:34 +00:00
David MacKenzie
938fa52b82
fix NAME hyphen
1993-11-13 15:16:23 +00:00
Jeff Law
980bac6418
* som.c (som_write_object_contents): Do not abort. Flesh out.
...
(som_set_section_contents): Do not abort. Flesh out.
1993-11-13 08:57:07 +00:00
Jeff Law
713de7ec97
* som.c (som_build_and_write_symbol_table): New function.
1993-11-13 08:37:14 +00:00
Jeff Law
efc0df7cff
* som.c (som_write_headers): New function.
1993-11-13 08:02:43 +00:00
Jeff Law
7057b78fb8
* som.c (som_reloc_call): New function.
1993-11-13 07:22:06 +00:00
Jeff Law
2212ff9277
* som.c (som_sizeof_headers): Add missing prototype.
...
(som_set_arch_mach): Do not abort.
1993-11-13 06:52:07 +00:00
Jeff Law
0ffa24b979
* som.c (som_prep_headers): New function.
1993-11-13 06:44:29 +00:00
Jeff Law
3e330968cd
* config/tc-hppa.[ch]: Fix assorted trivial indention problems.
1993-11-13 01:08:50 +00:00
Jeff Law
4a1b59ef72
* config/obj-som.c (obj_som_version): Add missing ';'.
...
(som_frob_file): Delete whitespace at EOL.
1993-11-13 00:54:15 +00:00
Jeff Law
5532fc5af1
* som.c (som_count_spaces): New function.
...
(som_count_subspaces): New function.
(compare_syms): New function.
(som_compute_checksum): New function.
1993-11-13 00:39:20 +00:00
Jeff Law
32619c583f
* som.c (hppa_som_gen_reloc_type): New function.
...
(som_bfd_reloc_type_lookup): New function.
1993-11-13 00:28:06 +00:00
Stu Grossman
537eba71b1
* config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
...
when doing remote stuff.
1993-11-13 00:26:06 +00:00
Jeff Law
54bbfd3762
* som.c (try_prev_fixup): New function.
...
(som_reloc_skip): New function.
(som_reloc_addend): New function.
1993-11-13 00:16:17 +00:00
Jeff Law
d125665cbb
* som.c (som_initialize_reloc_queue): New function.
...
(som_reloc_queue_insert): Likewise.
(som_reloc_queue_fix): Likewise.
(som_reloc_queue_find): Likewise.
1993-11-13 00:07:20 +00:00
Jim Kingdon
963ee102f2
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
1993-11-13 00:06:49 +00:00
Jeff Law
fcb0c84690
* som.c (som_hppa_howto_table): SOM howto relocation table.
...
(hppa_som_reloc): New function.
1993-11-12 23:49:58 +00:00
Ken Raeburn
f3b6e1f2b1
version number updated following 2.2 release
1993-11-12 23:44:55 +00:00
Jeff Law
4fdb66cd50
* som.c (struct reloc_queue): New structure to keep track of
...
the last four multibyte relocations emitted.
(enum pa_symbol_type): Type to fully describe the symbol types
associated with .import/.export assembler directives.
1993-11-12 23:43:24 +00:00
Jeff Law
70f1d7387e
* som.c: Include libhppa.h
1993-11-12 23:39:35 +00:00
Jeff Law
40249bfb73
* som.c (bfd_som_set_section_attributes): New function.
...
(bfd_som_set_subsection_attributes): Likewise.
(bfd_som_set_symboL_type): Likewise.
(bfd_som_attach_unwind_info): Likewise.
* som.h: Declare new exported functions.
1993-11-12 23:36:04 +00:00
Jeff Law
176ed088ef
* som.h (struct som_symbol): Add new fields to hold additional
...
information needed to build/write symbol tables and fixup streams.
(struct som_section_data_struct): Add new fields to hold additional
information needed to build/write space and subspace headers.
(som_symbol_data): New accessor macro for SOM symbol information.
(R_HPPA_*): Basic relocation types to be used by the assembler.
1993-11-12 23:08:13 +00:00
Jeff Law
f2eed8840d
* config/tc-hppa.c (hppa_fix_struct): Use a real type for the
...
field selector, rather than an int. All uses of field selectors
fixed.
(tc_gen_reloc): For SOM PLABELs, always set addend to zero for now.
(md_apply_fix_1): Do not call hppa_field_adjust for any PLABEL
field.
1993-11-12 22:54:41 +00:00
Jim Kingdon
9d271503e8
* partial-stab.h: Ignore ':' symbol descriptors. Same case as
...
Kung's stabsread.c change.
1993-11-12 22:30:05 +00:00
Jim Kingdon
397f9dcdb9
* stabs.texinfo (Nested Symbols): New node.
...
(String Field, Symbol Descriptors): Refer to it.
1993-11-12 22:18:29 +00:00