deliverable/binutils-gdb.git
30 years ago* stack.c (print_block_frame_locals): Also print LOC_BASEREG variables.
Jim Kingdon [Fri, 31 Dec 1993 19:41:30 +0000 (19:41 +0000)] 
* stack.c (print_block_frame_locals): Also print LOC_BASEREG variables.

30 years ago * symtab.c (find_methods): Call fprintf_symbol_filtered with DMGL_ANSI.
Peter Schauer [Fri, 31 Dec 1993 14:57:19 +0000 (14:57 +0000)] 
* symtab.c (find_methods): Call fprintf_symbol_filtered with DMGL_ANSI.

30 years agoInsert Peter Kessler's name as inventor (I think).
John Gilmore [Fri, 31 Dec 1993 08:45:16 +0000 (08:45 +0000)] 
Insert Peter Kessler's name as inventor (I think).

30 years ago * remote-mips.c (mips_error): New function.
Jim Kingdon [Fri, 31 Dec 1993 03:05:15 +0000 (03:05 +0000)] 
* remote-mips.c (mips_error): New function.
* remote-mips.c: Use it instead of error() most places.
* remote-mips.c (mips_receive_packet): New arg throw_error.
(mips_initialize): Use it not catch_errors.
* defs.h: Declare error_pre_print and warning_pre_print here...
* main.c: ...not here.

30 years agoDefine N_TXTADDR
David MacKenzie [Thu, 30 Dec 1993 23:48:44 +0000 (23:48 +0000)] 
Define N_TXTADDR

30 years ago* values.c (unpack_long): Fix garbled error message.
Jim Kingdon [Thu, 30 Dec 1993 22:49:48 +0000 (22:49 +0000)] 
* values.c (unpack_long): Fix garbled error message.

30 years ago * remote-mips.c (mips_error): New function.
Jim Kingdon [Thu, 30 Dec 1993 22:25:52 +0000 (22:25 +0000)] 
* remote-mips.c (mips_error): New function.
* remote-mips.c: Use it instead of error() most places.

30 years agoRebuilt after removal of seclet.c from doc/Makefile.in.
Ian Lance Taylor [Thu, 30 Dec 1993 22:14:19 +0000 (22:14 +0000)] 
Rebuilt after removal of seclet.c from doc/Makefile.in.

30 years agoMakefile.in: Delete all references to seclet.c, since it's just been deleted.
Ken Raeburn [Thu, 30 Dec 1993 22:02:22 +0000 (22:02 +0000)] 
Makefile.in: Delete all references to seclet.c, since it's just been deleted.
Don't mention hash.c, linker.c, or genlink.h yet, since they don't contain
documentation yet (hint, hint!).

30 years ago * breakpoint.c (breakpoint_chain): Make static.
Jim Kingdon [Thu, 30 Dec 1993 20:34:06 +0000 (20:34 +0000)] 
* breakpoint.c (breakpoint_chain): Make static.
* breakpoint.c, breakpoint.h (frame_in_dummy): New function.
* stack.c (print_frame_info): Use it.

30 years agoAdded new files for linker support, and removed old seclet files.
Ian Lance Taylor [Thu, 30 Dec 1993 20:03:34 +0000 (20:03 +0000)] 
Added new files for linker support, and removed old seclet files.

30 years agoRemoved files that are no longer used by the rewritten linker.
Ian Lance Taylor [Thu, 30 Dec 1993 19:57:49 +0000 (19:57 +0000)] 
Removed files that are no longer used by the rewritten linker.

30 years ago Extensive changes to move the bulk of the linker into BFD so that
Ian Lance Taylor [Thu, 30 Dec 1993 19:56:50 +0000 (19:56 +0000)] 
Extensive changes to move the bulk of the linker into BFD so that
more efficient backend code can be written for specific object
files.  Only existing efficient backend is a.out.
* seclet.c, seclet.h: Removed.
* hash.c, linker.c, genlink.h: New files.
* bfd-in.h: Removed bfd_error_vector.  Declared hash table
structures and functions.
(JUMP_TABLE): Removed bfd_seclet_link, added
bfd_link_hash_table_create, bfd_link_add_symbols and
bfd_final_link.
* All backends: Changed accordingly.
* bfd-in2.h: Rebuilt.
* bfd.c (struct _bfd): Added link_next and archive_pass fields.
Removed ld_symbols field.
(bfd_nonrepresentable_section, bfd_undefined_symbol,
bfd_reloc_value_truncated, bfd_reloc_is_dangerous,
bfd_error_vector): Removed.
(bfd_default_error_trap, bfd_error_trap,
bfd_error_nonrepresentabltrap): Removed.
(bfd_get_relocated_section_contents): Pass link_info.  Pass
link_order instead of seclet.  Pass symbols.
(bfd_relax_section): Pass link_info.
(bfd_seclet_link): Removed.
(bfd_link_hash_table_create, bfd_link_add_symbols,
bfd_final_link): New macros.
* libbfd-in.h: If __GNUC__ is defined and alloca is not, define
alloca as __builtin_alloca.  Declare internal linking functions.
* libbfd.h: Rebuilt.
* libbfd.c (bfd_seek): Comment out fseek assertion.  It's worked
for months.
* reloc.c (reloc_howto_type): Added error_message argument to
special_function field.  Changed all callers and all definitions.
(bfd_get_reloc_size): Make argument a const pointer.
(bfd_perform_relocation): Add error_message argument to hold
string set if return value if bfd_reloc_dangerous.  Changed all
callers.
(_bfd_final_link_relocate, _bfd_relocate_contents): New functions.
* section.c (asection): Renamed seclets_head and seclets_tail to
link_order_head and link_order_tail.
* targets.c (bfd_target): Replaced seclet argument with link_info
and link_order and symbols arguments in
bfd_get_relocated_section_contents.  Added symbols argument to
bfd_relax_section.  Removed bfd_seclet_link.  Added
bfd_link_hash_table_create, bfd_link_add_symbols and
bfd_final_link.
* libaout.h (struct aoutdata): Added external_syms,
external_sym_count, external_strings, sym_hashes fields.
(obj_aout_external_syms, obj_aout_external_sym_count,
obj_aout_external_strings, obj_aout_sym_hashes): New accessor
macros.
(WRITE_HEADERS): Only output symbols if outsymbols is not NULL.
* aoutx.h: Wrote new back end linker routines.
(translate_to_native_sym_flags): Return boolean value.  Don't use
bfd_error_vector.
(NAME(aout,write_syms)): Return boolean value.  Check return value
of translate_to_native_sym_flags and bfd_write.
* aout-target.h (final_link_callback): New function.
(MY_bfd_final_link): New function.
* aout-adobe.c (aout_adobe_write_object_contents): Check return
value of aout_32_write_syms.
* hp300hpux.c (MY(write_object_contents)): Likewise.
* i386lynx.c (WRITE_HEADERS): Likewise.
* libaout.h (WRITE_HEADERS): Likewise.
* bout.c: Changed functions to use link_info->callbacks rather
than bfd_error_vector, and link_orders rather than seclets.
* coff-alpha.c: Likewise.
* coff-h8300.c: Likewise.
* coff-h8500.c: Likewise.
* coff-sh.c: Likewise.
* coff-z8k.c: Likewise.
* elf32-hppa.c: Likewise.
* reloc16.c: Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Look
up _gp in the hash table rather than in outsymbols.
* coff-a29k.c (a29k_reloc): Pass errors back in new error_message
argument rather than printing them.
* coffcode.h (bfd_coff_reloc16_extra_cases): Take link_info and
link_order arguments rather than seclet.  Changed all uses and
definitions.
(bfd_coff_reloc16_estimate): Pass link_info arguments.  Changed
all uses and definitions.
* libcoff.h: Rebuilt.
* ecoff.c (ecoff_get_extr): If symbol is defined by linker, but
not by ECOFF, make it scAbs.
(ecoff_bfd_final_link): Renamed from ecoff_bfd_seclet_link and
rewritten.
* elf32-mips.c (mips_elf_final_link): Renamed from
mips_elf_seclet_link and rewritten.
* elf32-hppa.c (elf32_hppa_stub_description): Added link_info
field.
(new_stub, add_stub_by_name, hppa_elf_build_arg_reloc_stub,
hppa_elf_build_long_branch_stub, hppa_look_for_stubs_in_section):
Added link_info arguments.  Changed all callers.
* elfcode.h (elf_slurp_symbol_table): Don't quit if outsymbols is
not NULL.
* oasys.c (oasys_write_sections): Return boolean value rather than
using bfd_error_vector.
(oasys_write_object_contents): Check return value of
oasys_write_sections.
* hosts/std-host.h: Don't declare qsort or strtol.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Removed seclet.o.  Added hash.o and linker.o.
(CFILES): Removed seclet.c.  Added hash.c and linker.c.
(HFILES): Removed seclet.h.  Added genlink.h.

30 years ago A major rewrite to move the bulk of the linker into BFD so that
Ian Lance Taylor [Thu, 30 Dec 1993 19:51:41 +0000 (19:51 +0000)] 
A major rewrite to move the bulk of the linker into BFD so that
more efficient backend code can be written for specific object
files.
* lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h,
ldwarn.c, ldwarn.h, relax.c, relax.h: Removed.
* ldctor.c, ldctor.h: Complete rewrite.
* ldwrite.c, ldwrite.h: Complete rewrite.
* ld.h (strip_symbols_type, strip_symbols): Removed.  Use
link_info.strip instead.  Changed all uses.
(discard_locals_type, discard_locals): Removed.  Use
link_info.discard instead.  Changed all uses.
(ld_config_type): Removed relocateable_output field; use
link_info.relocateable instead; changed all uses.  Added stats
field.
(set_asymbol_chain, get_asymbol_chain, get_loader_symbol,
set_loader_symbol): Removed.
* ldexp.h (node_class): Added etree_rel.
(etree_type): Added rel field.
* ldexp.c (exp_print_token): Bracketed table initialization.
(exp_relop): New function.
(fold_name): Use linker hash table rather than ldsym functions.
(exp_fold_tree): Likewise.  Also, handle etree_rel case.
(exp_print_tree): Handle etree_rel.
* ldgram.y (strip_symbols, discard_locals): Removed.
(OPTION_stats, OPTION_no_keep_memory): New tokens.  Handle them.
(REL): New token.  Does not appear in grammar, but needed for
expression code.
(file): Don't call lang_final; it's called by main anyhow.
* ldlex.l: Accept -stats and -no-keep-memory options.
* ldlang.h (fill_type): Make unsigned int, not unsigned short.
* ldlang.c: Consistently use fill_type for fill argument.
(lang_init_script_file, script_file): Removed.
(create_object_symbols): Removed.  Use
link_info.create_object_symbols_section instead.  Changed all
uses.
(lang_add_keepsyms_file): Removed.
(lookup_name): Call bfd_link_add_symbols instead of
ldmain_open_file_read_symbol.
(wild): Don't iterate over script_file.
(open_output): Create link hash table.
(lang_place_undefineds): Rewrote.
(lang_size_sections): Handle relaxing (doesn't work yet).
(lang_relocate_globals): Removed.
(lang_finish): Use link hash table rather than ldsym functions.
(lang_common): Rewrote.
(lang_one_common): New function.
(ldlang_add_file): Add file to link_info.input_bfds list.  Set
usrdata.
(create_symbol): Removed.
(lang_process): Don't call lang_init_script_file.  Call
ldctor_build_sets rather than find_constructors.  Don't call
lang_relocate_globals.
(lang_abs_symbol_at_beginning_of): Rewrote.
(lang_abs_symbol_at_end_of): Rewrote.
* ldmain.c (had_y): Removed.
(lprefix, lprefix_len): Removed; use link_info fields instead.
Changed all uses.
(multiple_def_count, commons_pending, undefined_global_sym_count,
total_symbols_seen, total_files_seen): Removed.
(link_callbacks, link_info): New variables.
(main): Initialize link_info.  Don't call init_bfd_error_vector or
ldsym_init.  Don't set now unused variables.  Handle -stats.
(get_emulation): Removed obsolete and nonfunctional GNU960 code.
(add_ysym): Rewrote.
(read_entry_symbols, refize, enter_global_ref, enter_file_symbols,
search_library, gnu960_check_format, decode_library_subfile,
linear_library, symdef_library, clear_syms, subfile_wanted_p):
Removed.
(add_keepsyms_file, add_archive_element, multiple_definition,
multiple_common, add_to_set, warning_callback, undefined_symbol,
reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym):
New functions.
* ldmisc.c (vfinfo): Accept a string for %T, not a symbol.  Don't
require symbols for %C; look them up instead.
* emultempl/hppaosf.em: Pass link_info to
hppa_look_for_stubs_in_section.
* Makefile.in: Rebuilt dependencies.
(CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and
relax.c.
(HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and
relax.h.
(EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h,
ldlang.h and ldctor.h.

* Makefile.in (ldlex.c): Don't depend on ldgram.h.  Remove
declarations of free and malloc from flex output.  Change malloc
to ldmalloc in flex output.

30 years ago * bfdlink.h: New file for new BFD linker backend routines.
Ian Lance Taylor [Thu, 30 Dec 1993 18:44:54 +0000 (18:44 +0000)] 
* bfdlink.h: New file for new BFD linker backend routines.

30 years ago * exec.c (add_to_section_table): Check for SEC_ALLOC instead of
Peter Schauer [Thu, 30 Dec 1993 15:56:06 +0000 (15:56 +0000)] 
* exec.c (add_to_section_table):  Check for SEC_ALLOC instead of
SEC_LOAD to handle .bss segments properly.

30 years ago * section.c (bfd_get_section_contents): Return zero filled buffer
Peter Schauer [Thu, 30 Dec 1993 15:51:16 +0000 (15:51 +0000)] 
* section.c (bfd_get_section_contents):  Return zero filled buffer
if section has no contents.

30 years ago * infrun.c (wait_for_inferior): Enable code which assumes that if
Jim Kingdon [Thu, 30 Dec 1993 15:27:52 +0000 (15:27 +0000)] 
* infrun.c (wait_for_inferior): Enable code which assumes that if
we jump into the prologue from another function, then it was a
subroutine call.  #if 0 AT_FUNCTION_START; the above code should
take care of this case.

30 years agoRevert last change. It loses.
Jeff Law [Thu, 30 Dec 1993 07:00:31 +0000 (07:00 +0000)] 
Revert last change.  It loses.

30 years ago * valprint.c (val_print_string): Change chunksize from 200
Jim Kingdon [Thu, 30 Dec 1993 02:40:05 +0000 (02:40 +0000)] 
* valprint.c (val_print_string): Change chunksize from 200
to 8.

30 years ago * symfile.c (generic_load): If no arguments, get file name
Jim Kingdon [Wed, 29 Dec 1993 21:29:44 +0000 (21:29 +0000)] 
* symfile.c (generic_load): If no arguments, get file name
from get_exec_file.

30 years ago* write.h (struct fix): Field tc_fix_data should be type PTR, not void*, for
Ken Raeburn [Wed, 29 Dec 1993 21:21:21 +0000 (21:21 +0000)] 
* write.h (struct fix): Field tc_fix_data should be type PTR, not void*, for
compatibility with non-ANSI compilers.  Added single-bit field "fx_done".

30 years agoput a breakpoint in as_bad_where too
Ken Raeburn [Wed, 29 Dec 1993 21:19:41 +0000 (21:19 +0000)] 
put a breakpoint in as_bad_where too

30 years ago * c-exp.y: Revert Kung's change. "..." is not a type, and the
Jim Kingdon [Wed, 29 Dec 1993 20:52:06 +0000 (20:52 +0000)] 
* c-exp.y: Revert Kung's change.  "..." is not a type, and the
change caused "p (...)0" to dump core.
* gdbtypes.c (check_stub_method): Don't pass "..." to
parse_and_eval_type.  This should fix the bug which Kung was
trying to fix.

30 years ago * gas/hppa/more.parse/labelbug.s: Add more colonless label
Jeff Law [Wed, 29 Dec 1993 19:37:20 +0000 (19:37 +0000)] 
    * gas/hppa/more.parse/labelbug.s: Add more colonless label
        tests.

30 years ago * app.c (do_scrub_next_char): Fix more bugs dealing with
Jeff Law [Wed, 29 Dec 1993 19:33:31 +0000 (19:33 +0000)] 
    * app.c (do_scrub_next_char): Fix more bugs dealing with
        labels without colons (For HPPA and MRI).

30 years ago * stabsread.c (define_symbol): If we choose not to combine
Jim Kingdon [Wed, 29 Dec 1993 18:42:52 +0000 (18:42 +0000)] 
* stabsread.c (define_symbol): If we choose not to combine
two symbols, don't just ignore the second (LOC_REGISTER) one.
* printcmd.c (print_frame_args): If we have a LOC_ARG and a
LOC_REGISTER, use the LOC_ARG not the LOC_REGISTER.

30 years ago * stabs.texinfo (Cross-References): `::' is for nested types only
Jim Kingdon [Wed, 29 Dec 1993 16:22:31 +0000 (16:22 +0000)] 
* stabs.texinfo (Cross-References): `::' is for nested types only
within <>.
(Structures): Document static members.

30 years ago * solib.c (DEBUG_BASE): Remove macro and all references.
Fred Fish [Tue, 28 Dec 1993 23:15:20 +0000 (23:15 +0000)] 
* solib.c (DEBUG_BASE):  Remove macro and all references.
* solib.c (debug_base_symbols):  Add array of symbols to lookup.
* solib.c (IGNORE_FIRST_LINK_MAP_ENTRY):  Add macro.
* solib.c (look_for_base, locate_base):  Use debug_base_symbols.
* solib.c (find_solib):  Use IGNORE_FIRST_LINK_MAP_ENTRY.

30 years agoCVS:
Kung Hsu [Tue, 28 Dec 1993 20:11:25 +0000 (20:11 +0000)] 
CVS:
Modified Files:
ChangeLog c-exp.y

        * c-exp.y : fix grammar to parse ellipsis (...)
(fix pr4218)

30 years ago * elf.c (bfd_elf_generic_reloc): If this is not an inplace reloc,
Ian Lance Taylor [Tue, 28 Dec 1993 17:45:14 +0000 (17:45 +0000)] 
* elf.c (bfd_elf_generic_reloc): If this is not an inplace reloc,
then skip bfd_perform_relocation even if the addend is non-zero.

30 years agoModified Files:
Kung Hsu [Tue, 28 Dec 1993 02:46:34 +0000 (02:46 +0000)] 
Modified Files:
ChangeLog stabsread.c

        * stabsread.c (read_type): fix problem when reading static member
        of a class. caused by change to allow :: inside template
        instantiated name.

30 years ago * config/i386-linux.mt: delete ".sh" from genscripts argument
Mark Eichin [Mon, 27 Dec 1993 19:39:55 +0000 (19:39 +0000)] 
* config/i386-linux.mt: delete ".sh" from genscripts argument
(change made to genscripts on July 21...)

This is all it took for linux-native ld to build. It isn't necessarily useful,
particularly as gcc is still configured to pass -m486 and -dll-verbose, which
this ld doesn't parse...

30 years ago* stabs.texinfo: Document S type attribute.
Jim Kingdon [Mon, 27 Dec 1993 18:59:39 +0000 (18:59 +0000)] 
* stabs.texinfo: Document S type attribute.

30 years ago * gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
Jim Kingdon [Mon, 27 Dec 1993 18:56:23 +0000 (18:56 +0000)] 
* gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
TYPE_CODE_STRING a bit.

30 years ago * m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
Jim Kingdon [Mon, 27 Dec 1993 18:44:07 +0000 (18:44 +0000)] 
* m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
Allow pea %fp; move.l %sp, %fp instead of link instruction to
set up the new frame.

30 years ago * main.c (init_main): Change "set remotedebug" back to var_zinteger
Jim Kingdon [Mon, 27 Dec 1993 18:26:57 +0000 (18:26 +0000)] 
* main.c (init_main): Change "set remotedebug" back to var_zinteger
from var_boolean.

30 years ago * minsyms.c (prim_record_minimal_symbol): Call
Jim Kingdon [Mon, 27 Dec 1993 17:49:00 +0000 (17:49 +0000)] 
* minsyms.c (prim_record_minimal_symbol): Call
prim_record_minimal_symbol_and_info rather than duplicating code.

30 years ago * minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
Jim Kingdon [Mon, 27 Dec 1993 17:47:28 +0000 (17:47 +0000)] 
* minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
coffread.c (record_minimal_symbol),
xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.

30 years ago* c-exp.y (yylex): Don't try to deal with nested types.
Jim Kingdon [Mon, 27 Dec 1993 17:27:45 +0000 (17:27 +0000)] 
* c-exp.y (yylex): Don't try to deal with nested types.

30 years ago * cp-valprint.c (cplus_print_value): Call check_stub_type on
Jim Kingdon [Mon, 27 Dec 1993 17:01:03 +0000 (17:01 +0000)] 
* cp-valprint.c (cplus_print_value): Call check_stub_type on
TYPE_BASECLASS (type, i) before we look at its name.

30 years ago * dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
Jim Kingdon [Mon, 27 Dec 1993 16:31:56 +0000 (16:31 +0000)] 
* dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
from here . . .
* symtab.h: . . . to here.
* dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled.
and __gnu_compiled* from here . . .
* minsyms.c (prim_record_minimal_symbol_and_info): . . . to here.
* minsyms.c (prim_record_minimal_symbol): Call
prim_record_minimal_symbol_and_info rather than duplicating code.

30 years agoAdd comment about breakpoint vector usage.
Jeff Law [Mon, 27 Dec 1993 04:52:47 +0000 (04:52 +0000)] 
Add comment about breakpoint vector usage.

30 years ago * stabs.texinfo: Add notes about stabs-in-som where appropriate.
Jeff Law [Mon, 27 Dec 1993 04:47:59 +0000 (04:47 +0000)] 
    * stabs.texinfo: Add notes about stabs-in-som where appropriate.

30 years ago * dbxread.c (process_one_symbol): Handle stabs-in-som just like
Jeff Law [Mon, 27 Dec 1993 04:46:05 +0000 (04:46 +0000)] 
    * dbxread.c (process_one_symbol): Handle stabs-in-som just like
        stabs-in-elf.
        (pastab_build_psymtabs): Likewise.

        * hppa-tdep.c: Change all comments to reference %r3 or frame pointer
        rather than %r4.
        (frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the
        frame pointer.

        * config/pa/tm-hppa.h (FP_REGNUM): Define as %r3.
        (FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer.
        (CALL_DUMMY): Likewise.

30 years ago * exec.c (exec_file_command): If error occurs after we have opened
Jim Kingdon [Sun, 26 Dec 1993 23:33:14 +0000 (23:33 +0000)] 
* exec.c (exec_file_command): If error occurs after we have opened
exec_bfd but before we call push_target, make sure to close exec_bfd.

30 years agoSun Dec 26 16:59:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
Jim Kingdon [Sun, 26 Dec 1993 23:06:56 +0000 (23:06 +0000)] 
Sun Dec 26 16:59:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* infrun.c (wait_for_inferior): Remove confusing and inaccurate
stuff about subroutine calls, return, etc., from comment which
says "We've wandered out of the step range.".

Sun Dec 26 09:18:10 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* infrun.c (wait_for_inferior): When checking whether the line has
changed, check the symtab as well.

30 years ago * gdbtypes.c (force_to_range_type): Use switch statement.
Jim Kingdon [Sun, 26 Dec 1993 22:37:47 +0000 (22:37 +0000)] 
* gdbtypes.c (force_to_range_type): Use switch statement.
complain() not warning() if the TYPE_CODE isn't one we know how to
deal with gracefully.  Use builtin_type_int not
lookup_fundamental_type (the objfile we passed to
lookup_fundamental_type was sometimes NULL).

30 years agoMaking HPPA assembler case sensitive where it should be, and speeding it up
Torbjorn Granlund [Sun, 26 Dec 1993 22:36:02 +0000 (22:36 +0000)] 
Making HPPA assembler case sensitive where it should be, and speeding it up
a factor of 2.

30 years ago * valops.c (call_function_by_hand, push_word), defs.h (push_word),
Jim Kingdon [Sun, 26 Dec 1993 18:10:22 +0000 (18:10 +0000)] 
* valops.c (call_function_by_hand, push_word), defs.h (push_word),
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
Use REGISTER_SIZE, unsigned LONGEST, and
{store,extract}_unsigned_integer, instead of sizeof
(REGISTER_TYPE) and REGISTER_TYPE.
* All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
* hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.

* Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
Add lynx-nat.c.

30 years ago * hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
Jeff Law [Sun, 26 Dec 1993 04:06:32 +0000 (04:06 +0000)] 
    * hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
        of the current frame when "fromleaf" is true.  Do not adjust the
        frame base of the innermost frame if it is a leaf function.

30 years agoNo longer needed.
Jeff Law [Sun, 26 Dec 1993 04:03:38 +0000 (04:03 +0000)] 
No longer needed.

30 years ago * configure.in: Nuke hacks which were used to get a special
Jeff Law [Sun, 26 Dec 1993 04:02:36 +0000 (04:02 +0000)] 
    * configure.in: Nuke hacks which were used to get a special
        version of GAS for HPPA configurations.

30 years ago * stabsread.c (define_symbol): Only combine a p/r pair into a
Jim Kingdon [Sat, 25 Dec 1993 19:50:45 +0000 (19:50 +0000)] 
* stabsread.c (define_symbol): Only combine a p/r pair into a
LOC_REGPARM if REG_STRUCT_HAS_ADDR.

30 years agoSat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Sat, 25 Dec 1993 19:28:47 +0000 (19:28 +0000)] 
Sat Dec 25 09:50:29 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* valops.c (value_struct_elt): Check for (value)-1 return from
search_struct_method.

30 years ago * defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
Jim Kingdon [Sat, 25 Dec 1993 18:44:22 +0000 (18:44 +0000)] 
* defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
The old way (using #undef in tm.h) was ugly and asking for
trouble, because it makes it possible for some file to use the
wrong definition.  Move definition of HOST_CHAR_BIT after definition
of TARGET_CHAR_BIT.
* config/alpha/tm-alpha.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT
before defining them.

30 years ago * mdebugread.c: Change the builtin_type_* in this file to
Jim Kingdon [Sat, 25 Dec 1993 18:04:33 +0000 (18:04 +0000)] 
* mdebugread.c: Change the builtin_type_* in this file to
mdebug_type_* and make them static.  Use TYPE_CODE_ERROR for
complex and float decimal.

30 years ago * printcmd.c (disassemble_command): Call wrap_here between printing
Jim Kingdon [Sat, 25 Dec 1993 15:58:46 +0000 (15:58 +0000)] 
* printcmd.c (disassemble_command): Call wrap_here between printing
address and printing instruction.

30 years ago * stabsread.c (read_type): Don't fall through 'S' case (the case it
Jim Kingdon [Fri, 24 Dec 1993 20:43:29 +0000 (20:43 +0000)] 
* stabsread.c (read_type): Don't fall through 'S' case (the case it
was falling though happened to do the thing thing ("break;") but that
is hardly a good thing to assume).

30 years agoremove stray <<<<< from CVS
Jim Kingdon [Fri, 24 Dec 1993 19:05:23 +0000 (19:05 +0000)] 
remove stray <<<<< from CVS

30 years agoVarious entries.
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:32 +0000 (17:29 +0000)] 
Various entries.

30 years ago gcc -Wall lint:
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:06 +0000 (17:29 +0000)] 
gcc -Wall lint:
* ar.c (main): Put parens around assignment used as truth value.
* objdump.c (display_bfd): Declare return value as void.
(stab_print): Use "" instead of 0 to initialize array.
(dump_stabs_1): Print vma using printf_vma.
(display_info): Put parens around assignment used as truth value.
* strings.c (print_strings): Cast printf arguments.

30 years ago * valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.
Per Bothner [Tue, 21 Dec 1993 22:22:45 +0000 (22:22 +0000)] 
* valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.

30 years ago * ch-exp.y (match_dollar_tokens): Fix off-by-one bug.
Per Bothner [Tue, 21 Dec 1993 22:18:51 +0000 (22:18 +0000)] 
* ch-exp.y (match_dollar_tokens):  Fix off-by-one bug.
* ch-lang.c (chill_is_varying_struct), ch-lang.h:  New function.
* ch-lang.c (chill_printstr):  Use double quotes, not single quotes.
* ch-typeprint.c (chill_type_print_base):  Handle TYPE_CODE_BITSTRING.
Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE.
Handle TYPE_CODE_ENUM.
* ch-valprint.c (chill_val_print):  Handle TYPE_CODE_BITSTRING.
For TYPE_CODE_STRING, never print address.  Handle VARYING strings.
* gdbtypes.c (force_to_range_type):  New.
* gdbtypes.c (create_set_type):  Make work, following Chill layout.
* gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New.
* stabsread.c (read_type):  Distinguish string and bitstring from
char-array and set.
* valarith.c (value_subscript), valops.c (value_coerce_array):
Handle STRINGs as well as ARRAYs.
* valarith.c (value_bit_index):  Fix think.  Use new macros.

30 years agoAdd TODO list item from observing Solaris assembler.
Ken Raeburn [Tue, 21 Dec 1993 17:54:38 +0000 (17:54 +0000)] 
Add TODO list item from observing Solaris assembler.

30 years agochanges so far
Ken Raeburn [Tue, 21 Dec 1993 17:47:38 +0000 (17:47 +0000)] 
changes so far

30 years ago(coff_write_relocs) [SWAP_OUT_RELOC_OFFSET]: Copy addend to r_offset field.
Ken Raeburn [Tue, 21 Dec 1993 17:41:45 +0000 (17:41 +0000)] 
(coff_write_relocs) [SWAP_OUT_RELOC_OFFSET]: Copy addend to r_offset field.

30 years agoadded coff-sparc.c to CFILES, rebuilt dependencies
Ken Raeburn [Tue, 21 Dec 1993 17:27:20 +0000 (17:27 +0000)] 
added coff-sparc.c to CFILES, rebuilt dependencies

30 years ago(aix386_core_file_p): Use cd_regs[0] for computing the offsetof because AIX
Ken Raeburn [Tue, 21 Dec 1993 17:24:10 +0000 (17:24 +0000)] 
(aix386_core_file_p): Use cd_regs[0] for computing the offsetof because AIX
/bin/cc does not like to take the address of an array.  (From Minh Tran-Le.)

30 years agosparc-coff reloc, symbols.c BSF_* changes
Ken Raeburn [Mon, 20 Dec 1993 21:54:33 +0000 (21:54 +0000)] 
sparc-coff reloc, symbols.c BSF_* changes

30 years ago* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
Ken Raeburn [Mon, 20 Dec 1993 21:53:01 +0000 (21:53 +0000)] 
* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
(i.e., relocation against absolute), create a phony local symbol, and use it in
the reloc.
(fixup_segment): When adjusting a reloc with an absolute symbol, have
TC_FORCE_RELOCATION control clearing add_symbolP too.

* config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define.

30 years agono cvs on rs6000
David D. Zuhn [Mon, 20 Dec 1993 21:09:41 +0000 (21:09 +0000)] 
no cvs on rs6000

30 years agomd_end, listing, obj-coff changes
Ken Raeburn [Mon, 20 Dec 1993 16:58:19 +0000 (16:58 +0000)] 
md_end, listing, obj-coff changes

30 years ago* as.c (main): Only invoke md_end if it's defined as a macro.
Ken Raeburn [Mon, 20 Dec 1993 16:48:00 +0000 (16:48 +0000)] 
* as.c (main): Only invoke md_end if it's defined as a macro.
* tc.h (md_end): Don't declare it.
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything.
* config/tc-vax.c (vip_end): Deleted null function.
* config/tc-mips.c (md_mips_end): Renamed from md_end.
* config/tc-mips.h (md_mips_end): Declare.
(md_end): New macro, calls md_mips_end.

* write.c (write_object_file): Don't close output file.
* as.c (main): Close output file (if needed) after calling listing_print, which
should be after calling write_object_file, which sets the frag addresses.

30 years agowhitespace
Ken Raeburn [Mon, 20 Dec 1993 16:43:37 +0000 (16:43 +0000)] 
whitespace

30 years ago* as.c (main): Call listing_print before BFD gets closed, when symbol data
Ken Raeburn [Mon, 20 Dec 1993 15:43:23 +0000 (15:43 +0000)] 
* as.c (main): Call listing_print before BFD gets closed, when symbol data
hasn't been freed up yet.

30 years ago * configure: If only ${target_alias} is given, use that
Per Bothner [Mon, 20 Dec 1993 04:44:21 +0000 (04:44 +0000)] 
* configure:  If only ${target_alias} is given, use that
as the default for ${host_alias}.
* configure:  Add missing back-slashes before nested quotes.

30 years agoModified Files:
Kung Hsu [Fri, 17 Dec 1993 18:51:17 +0000 (18:51 +0000)] 
Modified Files:
ChangeLog symtab.c c-valprint.c

        * symtab (decode_line_1): fix a bug when position char is not
        set correctly.
        * c-valprint (c_val_print): handle vtbl printing when vtbl is not
        set up yet.

30 years ago * ldmain.c (lprefix): Change default from a char to a string
Jeff Law [Fri, 17 Dec 1993 05:21:33 +0000 (05:21 +0000)] 
    * ldmain.c (lprefix): Change default from a char to a string
        with only one character.
        (lprefix_len): Set default to one.

        * ldmain.h (lprefix_len): Declare.

        * ldsym.c (write_file_locals): Use strncmp rather than a character
        comparison for lprefix.

        * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
        correctly.

        * emultmpl/hppaosf.em: Include ldexp.h.
        (before_parse): Set lprefix and lprefix_len correctly.

30 years ago * config/tc-hppa.c (md_begin): Initialize "dummy_label".
Jeff Law [Fri, 17 Dec 1993 05:16:01 +0000 (05:16 +0000)] 
    * config/tc-hppa.c (md_begin): Initialize "dummy_label".
        (tc_gen_reloc, SOM version): For relocations which have no symbol,
        set sym_ptr_ptr to dummy_label.  Avoids lossage in generic BFD code.

30 years agorecent config/* & section_symbol changes
Ken Raeburn [Thu, 16 Dec 1993 21:56:03 +0000 (21:56 +0000)] 
recent config/* & section_symbol changes

30 years ago * mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
Ian Lance Taylor [Thu, 16 Dec 1993 21:47:59 +0000 (21:47 +0000)] 
* mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
defined, define it as 4.

30 years ago* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
Ken Raeburn [Thu, 16 Dec 1993 21:31:22 +0000 (21:31 +0000)] 
* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
const.

* config/obj-*.c, config/tc-*.c: Omit superfluous "return" statements at ends
of functions.  Don't check for null return from hash_new, since it won't return
at all if there's no memory available.  Also, check for null return from
hash_insert, rather than zero-length string, as success indicator.

30 years agoread.c(lex_type): Don't make '[' a valid symbol name char.
Ken Raeburn [Thu, 16 Dec 1993 21:12:43 +0000 (21:12 +0000)] 
read.c(lex_type): Don't make '[' a valid symbol name char.

30 years ago * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
Jeff Law [Thu, 16 Dec 1993 21:10:24 +0000 (21:10 +0000)] 
    * config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.

        * config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.

        * config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
        override.
        (REMOTE_BREAKPOINT): Likewise.

30 years ago * hosts/hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
Jeff Law [Thu, 16 Dec 1993 21:07:44 +0000 (21:07 +0000)] 
    * hosts/hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.

30 years agoupdate rev to 5.6(Cygnus)
David D. Zuhn [Thu, 16 Dec 1993 04:24:16 +0000 (04:24 +0000)] 
update rev to 5.6(Cygnus)

30 years agoremove gratitious s
David D. Zuhn [Thu, 16 Dec 1993 04:22:10 +0000 (04:22 +0000)] 
remove gratitious s

30 years agodocument -v flag
David D. Zuhn [Thu, 16 Dec 1993 04:18:17 +0000 (04:18 +0000)] 
document -v flag

30 years agoadd -v flag to gprof (print version number)
David D. Zuhn [Thu, 16 Dec 1993 04:14:45 +0000 (04:14 +0000)] 
add -v flag to gprof (print version number)

30 years agoMakefile.in (RUNTEST): New variable.
Ken Raeburn [Wed, 15 Dec 1993 20:46:54 +0000 (20:46 +0000)] 
Makefile.in (RUNTEST): New variable.
(CHECKFLAGS): Pass it down.

30 years agoforgot to check in some log messages last week
Ken Raeburn [Wed, 15 Dec 1993 20:44:45 +0000 (20:44 +0000)] 
forgot to check in some log messages last week

30 years agocleanups and mach3 changes
David MacKenzie [Wed, 15 Dec 1993 17:08:52 +0000 (17:08 +0000)] 
cleanups and mach3 changes

30 years agoSome changes from trying to run test suite in California last week:
Ken Raeburn [Wed, 15 Dec 1993 16:28:46 +0000 (16:28 +0000)] 
Some changes from trying to run test suite in California last week:

* Makefile.in (site.exp): Don't set ASFLAGS.  Quote value of OBJDUMPFLAGS in
case it's empty.  Use temporary names until the end; make creating site.exp the
final step.
(check): Pass in ASFLAGS.

* gas/all/gas.exp: Use all_ones proc.  Change regexp for matching
C comments to avoid bugs in latest expect code.

30 years agoremoved an unnecessary comment
Ken Raeburn [Wed, 15 Dec 1993 16:23:27 +0000 (16:23 +0000)] 
removed an unnecessary comment

30 years ago * som.c (som_begin_writing): Fix thinkos in auxiliary header
Jeff Law [Wed, 15 Dec 1993 05:50:44 +0000 (05:50 +0000)] 
    * som.c (som_begin_writing): Fix thinkos in auxiliary header
        support.
        (bfd_som_attach_aux_hdr): Likewise.

30 years ago * configure.in (hppa*-*-osf*): Do not consider this a developmental
Jeff Law [Wed, 15 Dec 1993 05:45:45 +0000 (05:45 +0000)] 
    * configure.in (hppa*-*-osf*): Do not consider this a developmental
        configuration.

30 years ago * config/tc-hppa.c (md_apply_fix): Handle cases where no
Jeff Law [Wed, 15 Dec 1993 05:41:11 +0000 (05:41 +0000)] 
    * config/tc-hppa.c (md_apply_fix): Handle cases where no
        relocation will be emitted for 32bit formats.

30 years ago * config.guess: Recognize some Tektronix configurations.
Per Bothner [Wed, 15 Dec 1993 05:28:09 +0000 (05:28 +0000)] 
* config.guess:  Recognize some Tektronix configurations.
From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.

30 years ago * ldlex.h: Don't declare yywrap if it is a macro.
Ian Lance Taylor [Tue, 14 Dec 1993 22:34:41 +0000 (22:34 +0000)] 
* ldlex.h: Don't declare yywrap if it is a macro.
* ldlex.l: Include sysdep.h.

This page took 0.048783 seconds and 4 git commands to generate.