binutils-gdb.git
30 years agoApply patches from gdb 4.12 testing.
Rob Savoye [Mon, 17 Jan 1994 23:28:29 +0000 (23:28 +0000)]
Apply patches from gdb 4.12 testing.

30 years agoAdd patches from gdb 4.12 testing.
Rob Savoye [Mon, 17 Jan 1994 23:27:07 +0000 (23:27 +0000)]
Add patches from gdb 4.12 testing.

30 years ago * aoutx.h (translate_from_native_sym_flags,
David MacKenzie [Mon, 17 Jan 1994 23:21:07 +0000 (23:21 +0000)]
* aoutx.h (translate_from_native_sym_flags,
aout_link_add_symbols): Treat N_SET[ABDT] | N_EXT like
N_SET[ABDT].

30 years agoMon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 17 Jan 1994 22:03:42 +0000 (22:03 +0000)]
Mon Jan 17 13:57:25 1994  Stan Shebs  (shebs@andros.cygnus.com)

* objdump.c (stab_name): Allocate dynamically.
(stab_print): Use pointers to strings instead of char arrays.
(dump_stabs): Change alloc and init of arrays appropriately.
(dump_stabs_1): Always decide whether to print stab_name or
the stab's type number, if unnamed.

30 years ago* binutils.all/objdump.exp: Trim list of format names expected, and accept any
Ken Raeburn [Mon, 17 Jan 1994 21:58:53 +0000 (21:58 +0000)]
* binutils.all/objdump.exp: Trim list of format names expected, and accept any
known CPU type.

30 years ago * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
Fred Fish [Mon, 17 Jan 1994 21:36:29 +0000 (21:36 +0000)]
* Makefile.in (ALLPARAM):  Change irix5.h to nm-irix5.h.

30 years ago * ecoff.h (ecoff_set_gp_prolog_size): Declare.
Ian Lance Taylor [Mon, 17 Jan 1994 20:44:33 +0000 (20:44 +0000)]
* ecoff.h (ecoff_set_gp_prolog_size): Declare.
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.

30 years agoComment and whitespace changes.
Ian Lance Taylor [Mon, 17 Jan 1994 20:39:26 +0000 (20:39 +0000)]
Comment and whitespace changes.

30 years ago* readline.c (doing_an_undo): Delete second declaration, since it confuses the
Ken Raeburn [Mon, 17 Jan 1994 17:45:27 +0000 (17:45 +0000)]
* readline.c (doing_an_undo): Delete second declaration, since it confuses the
alpha-osf1 native compiler.

30 years ago * README: Update notes for alpha port.
Peter Schauer [Mon, 17 Jan 1994 17:18:18 +0000 (17:18 +0000)]
* README:  Update notes for alpha port.

30 years ago * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
Jim Kingdon [Mon, 17 Jan 1994 16:18:17 +0000 (16:18 +0000)]
* i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
for operation fault, constraint fault, and type fault.

30 years ago * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
Jeff Law [Mon, 17 Jan 1994 09:30:07 +0000 (09:30 +0000)]
    * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
        and 'f' template operand.

30 years ago * hppa.h: More minor template fixes for sfu and copr (to allow
Jeff Law [Mon, 17 Jan 1994 09:27:08 +0000 (09:27 +0000)]
    * hppa.h: More minor template fixes for sfu and copr (to allow
        for easier disassembly).

30 years ago * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
Jeff Law [Mon, 17 Jan 1994 08:25:42 +0000 (08:25 +0000)]
    * gas/hppa/basic/fp_misc.s: Delete copr instruction.  It's tested
        elsewhere now.
        * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
        * gas/hppa/basic/basic.exp: Run them.

30 years ago * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
Jeff Law [Mon, 17 Jan 1994 08:19:56 +0000 (08:19 +0000)]
    * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
        and '2' in copr and sfu instruction templates.

30 years agoIn the right ChangeLog now:
Jeff Law [Mon, 17 Jan 1994 08:15:03 +0000 (08:15 +0000)]
In the right ChangeLog now:
        * hppa.h: Fix templates for all the sfu and copr instructions.

30 years agoOpps. Put log into wrong ChangeLog.
Jeff Law [Mon, 17 Jan 1994 08:14:09 +0000 (08:14 +0000)]
Opps.  Put log into wrong ChangeLog.

30 years ago * opcode/hppa.h: Fix templates for all the sfu and copr
Jeff Law [Mon, 17 Jan 1994 08:13:30 +0000 (08:13 +0000)]
    * opcode/hppa.h: Fix templates for all the sfu and copr
        instructions.

30 years ago* Makefile.in (init.c): Add comment explaining formatting conventions.
Jim Kingdon [Mon, 17 Jan 1994 00:58:29 +0000 (00:58 +0000)]
* Makefile.in (init.c): Add comment explaining formatting conventions.

30 years ago * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
Jim Kingdon [Mon, 17 Jan 1994 00:47:38 +0000 (00:47 +0000)]
* i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
farther than we should.

30 years ago * as.h (subseg_force_new): Add prototype.
Jeff Law [Mon, 17 Jan 1994 00:45:15 +0000 (00:45 +0000)]
    * as.h (subseg_force_new): Add prototype.

30 years ago* i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
Jim Kingdon [Mon, 17 Jan 1994 00:38:56 +0000 (00:38 +0000)]
* i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.

30 years ago * c-exp.y (parse_number): Assign to temporary between the right
Jim Kingdon [Mon, 17 Jan 1994 00:23:49 +0000 (00:23 +0000)]
* c-exp.y (parse_number): Assign to temporary between the right
shifts, to work around a bug in the SCO compiler.

30 years ago * complete.c, bind.c: Include <sys/stat.h>.
Jim Kingdon [Sun, 16 Jan 1994 23:43:22 +0000 (23:43 +0000)]
* complete.c, bind.c: Include <sys/stat.h>.
* complete.c: Define X_OK if not defined by a system header.

30 years ago * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Jim Kingdon [Sun, 16 Jan 1994 22:45:13 +0000 (22:45 +0000)]
* Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Add various files which were added to GDB recently.

30 years ago * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
Jim Kingdon [Sun, 16 Jan 1994 20:09:59 +0000 (20:09 +0000)]
* xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
within_function.

30 years ago * chardefs.h: Don't declare xmalloc.
Jim Kingdon [Sun, 16 Jan 1994 18:48:02 +0000 (18:48 +0000)]
* chardefs.h: Don't declare xmalloc.

* keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.

30 years ago * stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
Jim Kingdon [Sun, 16 Jan 1994 18:30:32 +0000 (18:30 +0000)]
* stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
Differences node to Statics node.
(Statics): Discuss XCOFF use of V symbol descriptor.

30 years ago* Makefile.in: Add mostlyclean target.
Jim Kingdon [Sun, 16 Jan 1994 17:47:47 +0000 (17:47 +0000)]
* Makefile.in: Add mostlyclean target.

30 years ago * Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
Jim Kingdon [Sun, 16 Jan 1994 17:45:32 +0000 (17:45 +0000)]
* Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
not clean.

30 years ago * Makefile.in (clean mostlyclean distclean realclean): Recurse
Jim Kingdon [Sun, 16 Jan 1994 17:39:16 +0000 (17:39 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.  Add clean-dvi
target.

30 years ago * Makefile.in (clean mostlyclean distclean realclean): Recurse
Jim Kingdon [Sun, 16 Jan 1994 17:35:23 +0000 (17:35 +0000)]
* Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.

30 years ago * readline.c, display.c: Patches to allow use of all 80
Per Bothner [Sun, 16 Jan 1994 04:04:13 +0000 (04:04 +0000)]
* readline.c, display.c:  Patches to allow use of all 80
columns on most terminals (those with am and xn).

30 years ago* Version 4.11.4.
Jim Kingdon [Sun, 16 Jan 1994 03:43:22 +0000 (03:43 +0000)]
* Version 4.11.4.

30 years ago Merge in changes from bash-1.13. The most obvious one is
Per Bothner [Sun, 16 Jan 1994 03:39:57 +0000 (03:39 +0000)]
Merge in changes from bash-1.13.  The most obvious one is
that the file readline.c has been split into multiple files.
* bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c:  New files.

30 years ago * main.c (show_commands): Make return type of extern
Per Bothner [Sun, 16 Jan 1994 03:35:19 +0000 (03:35 +0000)]
* main.c (show_commands):  Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)

30 years ago * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
Jim Kingdon [Sun, 16 Jan 1994 03:23:50 +0000 (03:23 +0000)]
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
const char *, not char *.

30 years ago* symtab.h (struct symbol): Make section short, not unsigned short.
Jim Kingdon [Sun, 16 Jan 1994 03:14:21 +0000 (03:14 +0000)]
* symtab.h (struct symbol): Make section short, not unsigned short.

30 years ago* symtab.c (lookup_symbol): Add comment about QUIT here.
Jim Kingdon [Sun, 16 Jan 1994 02:39:50 +0000 (02:39 +0000)]
* symtab.c (lookup_symbol): Add comment about QUIT here.

30 years ago * gdb.t16/printcmds.exp (test_print_strings): Accept
Jim Kingdon [Sat, 15 Jan 1994 23:00:27 +0000 (23:00 +0000)]
* gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.

30 years agoSat Jan 15 12:47:23 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 15 Jan 1994 20:50:15 +0000 (20:50 +0000)]
Sat Jan 15 12:47:23 1994  Stan Shebs  (shebs@andros.cygnus.com)

* config.sub (apple, mac, mpw): Add various aliases.

30 years agoFri Jan 7 14:34:31 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 15 Jan 1994 20:46:29 +0000 (20:46 +0000)]
Fri Jan  7 14:34:31 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-build.in: New file, top-level build script fragment for MPW.
* mpw-configure: New file, configure script for MPW.
* mpw-config.in: New file, config fragment for MPW.

30 years ago* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
Jim Kingdon [Sat, 15 Jan 1994 20:14:43 +0000 (20:14 +0000)]
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.

30 years ago * c-exp.y (parse_number): Make it so that integer constants are
Jim Kingdon [Sat, 15 Jan 1994 19:51:56 +0000 (19:51 +0000)]
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used.  Properly handle "UL" or "LU" suffixes.

30 years ago* app.c (do_scrub_next_char): Allow lines like " foolab :".
David Edelsohn [Sat, 15 Jan 1994 19:00:32 +0000 (19:00 +0000)]
* app.c (do_scrub_next_char): Allow lines like " foolab :".

30 years ago* read.c (emit_expr): Fix computation of mask.
David Edelsohn [Sat, 15 Jan 1994 17:33:16 +0000 (17:33 +0000)]
* read.c (emit_expr): Fix computation of mask.

30 years ago* config/obj-elf.c (obj_elf_section): Fix loop termination test.
David Edelsohn [Sat, 15 Jan 1994 17:31:05 +0000 (17:31 +0000)]
* config/obj-elf.c (obj_elf_section): Fix loop termination test.

30 years ago * c-exp.y (parse_number): Check for overflow regardless of range
Jim Kingdon [Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)]
* c-exp.y (parse_number): Check for overflow regardless of range
checking.  Fix overflow check to use unsigned LONGEST, not
unsigned int.

* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used.  Properly handle "UL" or "LU" suffixes.

30 years ago* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 17:03:41 +0000 (17:03 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.

30 years ago* TODO: Add notes about printing of fancy types and GDB expressions.
Jim Kingdon [Sat, 15 Jan 1994 16:30:04 +0000 (16:30 +0000)]
* TODO: Add notes about printing of fancy types and GDB expressions.

30 years ago * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
Jim Kingdon [Sat, 15 Jan 1994 15:27:49 +0000 (15:27 +0000)]
* c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
Print our "()" first, then recurse for the target type.

30 years ago* TODO: Add note about printing of fancy types.
Jim Kingdon [Sat, 15 Jan 1994 14:58:41 +0000 (14:58 +0000)]
* TODO: Add note about printing of fancy types.

30 years ago* remote-udi.c (udi_create_inferior): Quote empty execfile argument.
Jim Kingdon [Sat, 15 Jan 1994 04:28:18 +0000 (04:28 +0000)]
* remote-udi.c (udi_create_inferior): Quote empty execfile argument.

30 years ago* gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h.
Jim Kingdon [Sat, 15 Jan 1994 03:51:40 +0000 (03:51 +0000)]
* gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h.

30 years ago * utils.c (request_quit): Re-establish signal handler regardless
Jim Kingdon [Sat, 15 Jan 1994 03:43:01 +0000 (03:43 +0000)]
* utils.c (request_quit): Re-establish signal handler regardless
of USG.

* config/mips/xm-irix4.h: Define HAVE_TERMIOS.

30 years ago* i960-tdep.c: Include target.h.
Jim Kingdon [Sat, 15 Jan 1994 02:56:47 +0000 (02:56 +0000)]
* i960-tdep.c: Include target.h.

30 years agoFri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 15 Jan 1994 01:15:55 +0000 (01:15 +0000)]
Fri Jan 14 17:12:28 1994  Stan Shebs  (shebs@andros.cygnus.com)

* lynx-nat.c (sys/wait.h): Don't use absolute pathname.

30 years ago * elfcode.h (elf_object_p): If there is a SHT_DYNAMIC section, set
Ian Lance Taylor [Fri, 14 Jan 1994 22:35:41 +0000 (22:35 +0000)]
* elfcode.h (elf_object_p): If there is a SHT_DYNAMIC section, set
the DYNAMIC flag for the BFD.
(NAME(bfd_elf,write_object_contents)): Don't try to write out a
BFD with the DYNAMIC flag set, since we don't generate the program
header table correctly.

30 years ago * objcopy.c (strip_main, copy_main): Don't clobber the input file
Ian Lance Taylor [Fri, 14 Jan 1994 21:44:44 +0000 (21:44 +0000)]
* objcopy.c (strip_main, copy_main): Don't clobber the input file
if copy_file fails.

30 years ago * nlmconv.c (main): Warn about an attempt to use a shared library
Ian Lance Taylor [Fri, 14 Jan 1994 20:58:43 +0000 (20:58 +0000)]
* nlmconv.c (main): Warn about an attempt to use a shared library
with uninitialized data.

30 years ago Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
Ian Lance Taylor [Fri, 14 Jan 1994 20:43:07 +0000 (20:43 +0000)]
Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe
De Muyter).
* configure.in (m68k-motorola-sysv*) New target.
* config/delta68.mt: New file.
* emulparams/delta68.sh: New file.
* scripttempl/delta68.sc: New file.
* Makefile.in (ALL_EMULATIONS): Added em_delta68.o.
(em_delta68.c): New target.

30 years ago * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
Jim Kingdon [Fri, 14 Jan 1994 19:57:50 +0000 (19:57 +0000)]
* lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus
changes (status -> ourstatus; declare status, etc.).
* config/nm-lynx.h: Fix child_wait prototype and include target.h.

30 years ago * nlmconv.c (setup_sections): Make sure that we align the
Ian Lance Taylor [Fri, 14 Jan 1994 19:55:42 +0000 (19:55 +0000)]
* nlmconv.c (setup_sections): Make sure that we align the
output_offset of each input section appropriately.

30 years ago* Makefile.in (ALLPARAM): Add config/nm-lynx.h.
Jim Kingdon [Fri, 14 Jan 1994 19:19:56 +0000 (19:19 +0000)]
* Makefile.in (ALLPARAM): Add config/nm-lynx.h.

30 years ago * remote-mips.c (mips_request, mips_wait): Correct prototypes.
Ian Lance Taylor [Fri, 14 Jan 1994 16:52:22 +0000 (16:52 +0000)]
* remote-mips.c (mips_request, mips_wait): Correct prototypes.

30 years ago* config/i386/xm-linux.h: Define HAVE_TERMIOS.
Jim Kingdon [Fri, 14 Jan 1994 16:41:35 +0000 (16:41 +0000)]
* config/i386/xm-linux.h: Define HAVE_TERMIOS.

30 years ago * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
Peter Schauer [Fri, 14 Jan 1994 09:22:44 +0000 (09:22 +0000)]
* config/alpha/tm-alpha.h (CALL_DUMMY):  Improve comment.

30 years ago * ecoff.c (ecoff_link_write_external): An ifd can be -1.
Ian Lance Taylor [Fri, 14 Jan 1994 04:10:44 +0000 (04:10 +0000)]
* ecoff.c (ecoff_link_write_external): An ifd can be -1.

30 years agoecoff.c, as.c changes
Ken Raeburn [Fri, 14 Jan 1994 02:05:28 +0000 (02:05 +0000)]
ecoff.c, as.c changes

30 years ago(ecoff_set_gp_prolog_size): New function.
Ken Raeburn [Fri, 14 Jan 1994 02:01:52 +0000 (02:01 +0000)]
(ecoff_set_gp_prolog_size): New function.
(current_file_idx): New static variable.
(add_file): Use and increment current_file_idx instead of indx parameter.

Also removed trailing whitespace from lines.

30 years agoOops. Didn't mean to change reject_dev_configs.
Ken Raeburn [Fri, 14 Jan 1994 01:55:59 +0000 (01:55 +0000)]
Oops.  Didn't mean to change reject_dev_configs.

30 years agoDon't include config.h directly any more.
Ken Raeburn [Fri, 14 Jan 1994 01:54:01 +0000 (01:54 +0000)]
Don't include config.h directly any more.

30 years ago* struc-symbol.h (struct symbol): Make all bitfields unsigned.
Ken Raeburn [Fri, 14 Jan 1994 01:28:19 +0000 (01:28 +0000)]
* struc-symbol.h (struct symbol): Make all bitfields unsigned.

30 years ago * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
Jim Kingdon [Thu, 13 Jan 1994 23:06:03 +0000 (23:06 +0000)]
* remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
is defined.  Otherwise just report TARGET_SIGNAL_UNKNOWN.

30 years ago * som.c (som_set_reloc_info): Provide a default symbol for
Jeff Law [Thu, 13 Jan 1994 22:53:03 +0000 (22:53 +0000)]
    * som.c (som_set_reloc_info): Provide a default symbol for
        relocations which don't actually have an associated symbol.

30 years ago * objdump.c (dump_relocs): Don't crash if section name is NULL.
Ian Lance Taylor [Thu, 13 Jan 1994 22:34:51 +0000 (22:34 +0000)]
* objdump.c (dump_relocs): Don't crash if section name is NULL.

30 years agoChanges for i960_validate_fix, i386-netbsd* configs, BFDDEF handling, literal
Ken Raeburn [Thu, 13 Jan 1994 21:34:15 +0000 (21:34 +0000)]
Changes for i960_validate_fix, i386-netbsd* configs, BFDDEF handling, literal
pool offset bugs, config.h handling.

30 years ago(add_to_literal_pool): Take symbol and addend as arguments, instead of
Ken Raeburn [Thu, 13 Jan 1994 21:31:50 +0000 (21:31 +0000)]
(add_to_literal_pool): Take symbol and addend as arguments, instead of
expression, for now.  Fix calculation of offset to return.

30 years ago(segment_info_type) [NEED_LITERAL_POOL]: Add field literal_pool_size.
Ken Raeburn [Thu, 13 Jan 1994 21:30:18 +0000 (21:30 +0000)]
(segment_info_type) [NEED_LITERAL_POOL]: Add field literal_pool_size.

30 years ago* as.h: Include config.h. Added forward declaration for struct symbol.
Ken Raeburn [Thu, 13 Jan 1994 21:27:49 +0000 (21:27 +0000)]
* as.h: Include config.h.  Added forward declaration for struct symbol.
(add_to_literal_pool): Fix declaration.

30 years ago* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
Ken Raeburn [Thu, 13 Jan 1994 21:24:27 +0000 (21:24 +0000)]
* configure.in (i386-*-netbsd*): New target, using te-netbsd.h.
(i386-*-netbsd0.8): New target, like 386bsd.

* configure.in: Set BFDDEF in Makefile to "define" or "undef".
* Makefile.in (config.h): Protect against multiple inclusions.  Define or undef
BFD_ASSEMBLER as specified by $(BFDDEF).
(ALL_CFLAGS): Omit $(BFDDEF).

30 years ago * som.c (hppa_som_reloc): Add new "error message" argument.
Jeff Law [Thu, 13 Jan 1994 20:34:25 +0000 (20:34 +0000)]
    * som.c (hppa_som_reloc): Add new "error message" argument.

30 years ago * config/obj-som.c (som_frob_file): Call adjust_code_sections
Jeff Law [Thu, 13 Jan 1994 20:17:39 +0000 (20:17 +0000)]
    * config/obj-som.c (som_frob_file): Call adjust_code_sections
        for each section.
        (adjust_code_sections): New function.  Adjusts the VMA for all the
        $CODE$ subspaces.

        * config/tc-hppa.c (md_assemble): Also handle creating a fixup
        for the unwind descriptors if a function's label follows the
        .PROC and .ENTRY directives.
        (pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
        is done elsewhere.  Don't create a fixup for the unwind
        descriptors if the function's label has not been defined yet.
        (pa_proc): For SOM, place each procedure within a new $CODE$
        subspace.  Adjust the segment and frag for the associated
        function label if it exists.

30 years ago * subsegs.c (subseg_get): Accept new argument "force_new". If
Jeff Law [Thu, 13 Jan 1994 20:17:07 +0000 (20:17 +0000)]
    * subsegs.c (subseg_get): Accept new argument "force_new".  If
        set then a new segment is always created.  All callers changed.
        (subseg_force_new): New function.  Similar to subseg_new, but
        always force a new segment to be created.

        * config/obj-som.c (som_frob_file): Call adjust_code_sections
        for each section.
        (adjust_code_sections): New function.  Adjusts the VMA for all the
        $CODE$ subspaces.

        * config/tc-hppa.c (md_assemble): Also handle creating a fixup
        for the unwind descriptors if a function's label follows the
        .PROC and .ENTRY directives.
        (pa_entry): Don't set BSF_FUNCTION for the label symbol here; it
        is done elsewhere.  Don't create a fixup for the unwind
        descriptors if the function's label has not been defined yet.
        (pa_proc): For SOM, place each procedure within a new $CODE$
        subspace.  Adjust the segment and frag for the associated
        function label if it exists.

30 years ago * subsegs.c (subseg_get): Accept new argument "force_new". If
Jeff Law [Thu, 13 Jan 1994 20:16:44 +0000 (20:16 +0000)]
    * subsegs.c (subseg_get): Accept new argument "force_new".  If
        set then a new segment is always created.  All callers changed.
        (subseg_force_new): New function.  Similar to subseg_new, but
        always force a new segment to be created.

30 years ago * gas/all/gas.exp: No longer expect difference of forward
Jeff Law [Thu, 13 Jan 1994 20:01:22 +0000 (20:01 +0000)]
    * gas/all/gas.exp: No longer expect difference of forward
        references to fail.
        * gas/all/x930509.s: Fix testcase to match how the expect code was
        written.

30 years ago Add search to target vector (#if 0'd until after 4.12):
Jim Kingdon [Thu, 13 Jan 1994 18:44:06 +0000 (18:44 +0000)]
Add search to target vector (#if 0'd until after 4.12):
* target.h (to_search, target_search): Add.
* gdbcore.h, core.c (generic_search): Add.
* remote.c (remote_search): Add.
* a29k-tdep.c (init_frame_info): Use target_search to find traceback
tag.

30 years ago * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
Jim Kingdon [Thu, 13 Jan 1994 17:41:40 +0000 (17:41 +0000)]
* printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
is on, call find_pc_function rather than relying just on the minimal
symbols (probably only matters for symbol readers which don't put
statics in the minimal symbols, but changing this strikes me as
not conservative enough).
Initialize name_location in all cases.
If no symbol and no msymbol, don't print anything symbolic.

30 years ago* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
Jim Kingdon [Thu, 13 Jan 1994 15:38:00 +0000 (15:38 +0000)]
* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.

30 years ago * config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.
Jeff Law [Thu, 13 Jan 1994 06:06:35 +0000 (06:06 +0000)]
    * config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.
        (hppa_fix_new): Initialize segment field.
        (md_apply_fix): Do nothing for pc-relative fixup which involves
        crossing a segment boundary.
        (pa_procend): Undefine the current label after handling .PROC
        and .PROCEND directives.
        (dummy_symbol): Make type "symbolS *".  Change references as
        appropriate.

30 years ago* gdb.texinfo (Print Settings): Document `set print
John Gilmore [Thu, 13 Jan 1994 05:35:48 +0000 (05:35 +0000)]
* gdb.texinfo (Print Settings): Document `set print
fast-symbolic-addr' and improve the doc for some other
`set print's.

30 years ago* printcmd.c (print_address_symbolic): Make it search the
John Gilmore [Thu, 13 Jan 1994 05:04:40 +0000 (05:04 +0000)]
* printcmd.c (print_address_symbolic):  Make it search the
symtabs for variables as well as functions.  Add `set print
fast-symbolic-addr' and default it to fast (the old way).
Print line numbers for data items as well as functions.

* symtab.c (find_addr_symbol):  Return the symtab and the symbol
address, if a symbol is found (take two more args pointing to
where to store these results).

* symtab.h (find_addr_symbol):  Add prototype.

30 years ago * objfiles.h: Fix comments to reflect the fact that the phrase
Jim Kingdon [Thu, 13 Jan 1994 00:34:18 +0000 (00:34 +0000)]
* objfiles.h: Fix comments to reflect the fact that the phrase
"top of stack" always refers to where the pushing and popping takes
place, regardless of whether it is at the highest or lowest address.

30 years ago * gas/hppa/more.parse/procbug.s: Add test for another bug relating
Jeff Law [Wed, 12 Jan 1994 21:42:55 +0000 (21:42 +0000)]
    * gas/hppa/more.parse/procbug.s: Add test for another bug relating
        to having a function's label follow the .PROC directive.

30 years ago Enable gdb to write to core files on more core file readers.
Peter Schauer [Wed, 12 Jan 1994 21:40:42 +0000 (21:40 +0000)]
Enable gdb to write to core files on more core file readers.
* libbfd.c (bfd_generic_set_section_contents):  Remove range check
for section size, it is already done in bfd_set_section_contents
with bfd_get_section_size_now.
* aix386-core.c, hppabsd-core.c, hpux-core.c, irix-core.c,
osf-core.c, ptrace-core.c, trad-core.c (*_set_section_contents):
Use bfd_generic_set_section_contents instead of bfd_false.

30 years ago * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for
Peter Schauer [Wed, 12 Jan 1994 21:27:51 +0000 (21:27 +0000)]
* mdebugread.c (parse_symbol):  Do not set TYPE_TAG_NAME for
compiler generated tag names.
* mdebugread.c (parse_type):  Handle cross references to qualified
aggregate types.
* valops.c (value_struct_elt):  Improve error message if the
address of a method is requested from an object instance.
* valops.c (search_struct_method):  Make name_matched non-static
to get it initialized correctly.

30 years ago * linker.c (default_indirect_link_order): Don't expect space for
Ian Lance Taylor [Wed, 12 Jan 1994 20:33:30 +0000 (20:33 +0000)]
* linker.c (default_indirect_link_order): Don't expect space for
output relocations if there aren't any input relocations.

30 years ago * go32-xdep.c: Remove unused function uerror.
Jim Kingdon [Wed, 12 Jan 1994 19:47:27 +0000 (19:47 +0000)]
* go32-xdep.c: Remove unused function uerror.
(sigsetmask): Declare return type.  Declare argument (to match the
way it is called).  Explicitly return 0.

30 years agoRemove CVS merge markers.
Ian Lance Taylor [Wed, 12 Jan 1994 19:18:56 +0000 (19:18 +0000)]
Remove CVS merge markers.

30 years ago * read.c (read_a_source_file): Cast array argument to unsigned
Ian Lance Taylor [Wed, 12 Jan 1994 18:40:11 +0000 (18:40 +0000)]
* read.c (read_a_source_file): Cast array argument to unsigned
char.
* write.c (adjust_reloc_syms): Remove unused variable symseginfo.
(write_object_file): Don't define punt_it if it won't be used.
(fixup_segment): Don't define skip if it won't be used.