deliverable/binutils-gdb.git
30 years ago infcmd.c (step_1),
K. Richard Pixley [Wed, 22 Sep 1993 18:34:05 +0000 (18:34 +0000)] 
  infcmd.c (step_1),
  infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
  and insert macro.

30 years ago* remote-nindy.c: Declare ninMemGet and ninMemPut.
Jim Kingdon [Wed, 22 Sep 1993 15:45:46 +0000 (15:45 +0000)] 
* remote-nindy.c: Declare ninMemGet and ninMemPut.

30 years ago* Makefile.in: Add i386lynx-tdep to the right places.
Stu Grossman [Wed, 22 Sep 1993 15:23:53 +0000 (15:23 +0000)] 
* Makefile.in:  Add i386lynx-tdep to the right places.
(TARDIRS):  Add gdbserver.

* exec.c (print_section_info):  Print entry point.
* i386lynx-nat.c (i386lynx_saved_pc_after_call):  Move into
i386lynx-tdep.c.  Add core file support.
* i386lynx-tdep.c:  New module for Lynx/386 target dependant code.
* maint.c:  Add `maint info sections' command to print info about all
sections that BFD knows about for exec and core files.
* sparc-tdep.c (sparc_push_dummy_frame):  Update stack pointer
before putting frame on the stack.  Consolidate writes to reduce
traffic for remote debugging.
* config/i386/i386lynx.mh (NATDEPFILES):  Remove exec.o.
* config/i386/i386lynx.mt (TDEPFILES):  Add exec.o, i386lynx-tdep.o.
* config/i386/nm-i386lynx.h:  Add target_pid_to_str().
* config/i386/tm-i386lynx.h:  Remove target_pid_to_str().
* sparclite/Makefile.in:  Add deps to keep Sun make happy.

30 years ago* config.bfd: Use i960-bout, not i960-coff for i960-*-nindy*.
Jim Kingdon [Wed, 22 Sep 1993 15:11:59 +0000 (15:11 +0000)] 
* config.bfd: Use i960-bout, not i960-coff for i960-*-nindy*.

30 years ago * Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
Stu Grossman [Wed, 22 Sep 1993 14:58:31 +0000 (14:58 +0000)] 
* Makefile.in (OPTIONAL_BACKENDS):  Add lynx-core.o.
* bfd-in2.h (tdata):  Add lynx_core_data;
* config.bfd configure.host:  Get rid of superfluous netbsd and
lynxos entries.
* configure.in:  Add lynx-core.o to Lynx config.
* i386lynx.c:  Add defs for core file support.
* lynx-core.c:  New file with Lynx core file support.
* hosts/i386lynx.h:  Move lots of host specific includes to here.
Add def of HOST_LYNX.  Remove unnecessary defs.

30 years ago* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
Stu Grossman [Wed, 22 Sep 1993 14:54:50 +0000 (14:54 +0000)] 
* Makefile.in (OPTIONAL_BACKENDS):  Add lynx-core.o.
* bfd-in2.h (tdata):  Add lynx_core_data;
* config.bfd configure.host:  Get rid of superfluous netbsd and
lynxos entries.
* configure.in:  Add lynx-core.o to Lynx config.
* i386lynx.c:  Add defs for core file support.
* lynx-core.c:  New file with Lynx core file support.
* hosts/i386lynx.h:  Move lots of host specific includes to here.
Add def of HOST_LYNX.  Remove unnecessary defs.

30 years ago * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
Jim Kingdon [Wed, 22 Sep 1993 01:16:50 +0000 (01:16 +0000)] 
* breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
not_a_breakpoint.
* infrun.c (wait_for_inferior): Pass it.  Also consolidate the
test of whether we are stepping into a CURRENTLY_STEPPING macro.

30 years ago * breakpoint.c (bpstat_stop_status),
K. Richard Pixley [Wed, 22 Sep 1993 00:43:55 +0000 (00:43 +0000)] 
* breakpoint.c (bpstat_stop_status),
  infcmd.c (step_1),
  infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef and insert macro.

* m88k-tdep.c: include ieee-float.h.  new global target_is_m88110.
  new const struct ext_format_m88110 for float format.
  (pic_prologue_code): add braces.
  (next_insn): remove unused variable buf.
  (frame_find_saved_regs): remove unused variables next_addr,
  saved_regs, regnum.
  (frame_locals_address): remove unused variables frame, ap.
  (frame_args_address): remove unused variables frame, ap.
  (push_parameters): add some breaks and a default case.

* remote-bug.c: remove redundant includes of value.h, target.h,
  serial.h.
  (bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
  (bug_fetch_register): special case sfip register for m88110.
  remove flag bit masking of pc registers.  This should be handled
  by the ADDR_BITS_* macros.
  (bug_store_register): special case sfip register for m88110.
  Corrected sprint format for extended registers.

30 years ago * config/m88k/tm-m88k.h: white space and comment changes. include
K. Richard Pixley [Wed, 22 Sep 1993 00:41:55 +0000 (00:41 +0000)] 
* config/m88k/tm-m88k.h: white space and comment changes.  include
  ieee-float.h. expanded to cope with m88110 extended registers.
  (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
  (SHIFT_INST_REGS): becomes a real macro.

30 years ago(objfile_relocate): Relocate textlow and texthigh in psymtabs.
Jim Kingdon [Tue, 21 Sep 1993 23:15:10 +0000 (23:15 +0000)] 
(objfile_relocate): Relocate textlow and texthigh in psymtabs.

30 years ago* breakpoint.c (breakpoint_1): Support bp_call_dummy.
Jim Kingdon [Tue, 21 Sep 1993 22:55:39 +0000 (22:55 +0000)] 
* breakpoint.c (breakpoint_1): Support bp_call_dummy.

30 years ago * Makefile.in: Remove definition of CC and remove the second
Jim Kingdon [Tue, 21 Sep 1993 22:32:04 +0000 (22:32 +0000)] 
* Makefile.in: Remove definition of CC and remove the second
definition of CXX (the "CXX = gcc" one remains).  These definitions
were causing backquotes to be expanded within backquotes, which
doesn't work.

30 years ago * elfread.c (record_minimal_symbol_and_info): Guess the section to
Ian Lance Taylor [Tue, 21 Sep 1993 21:21:35 +0000 (21:21 +0000)] 
* elfread.c (record_minimal_symbol_and_info): Guess the section to
use from the type.
* objfiles.c: Include gdb-stabs.h for SECT_* macros.
(objfile_relocate): Relocate textlow and texthigh in psymtabs.
Relocate partial symbols.  Check that minimal SYMBOL_SECTION is
nonnegative before using it.
* symtab.h: Adjust section field comment.

30 years agoSnapshot of current i386 NetWare debugging stub.
Ian Lance Taylor [Tue, 21 Sep 1993 21:03:35 +0000 (21:03 +0000)] 
Snapshot of current i386 NetWare debugging stub.
Added some more debugging information.  Added handling of memory fault
errors when caused by invalid memory accesses.  Always use N response,
not S.

30 years agoWhitespace/comment fixups.
Ken Raeburn [Tue, 21 Sep 1993 20:41:42 +0000 (20:41 +0000)] 
Whitespace/comment fixups.
Mention a29k, not sparc, in error messages and comments.

30 years ago* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
Jim Kingdon [Tue, 21 Sep 1993 20:35:36 +0000 (20:35 +0000)] 
* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.

30 years agoAdd comment regarding section designation:
Jim Kingdon [Tue, 21 Sep 1993 19:39:53 +0000 (19:39 +0000)] 
Add comment regarding section designation:

Mon Sep  6 15:43:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

* remote.c (remote_wait): Added 'W' and 'N' responses.

30 years ago * printcmd.c (print_scalar_formatted): When truncating value we are
Jim Kingdon [Tue, 21 Sep 1993 18:54:46 +0000 (18:54 +0000)] 
* printcmd.c (print_scalar_formatted): When truncating value we are
going to print as unsigned, handle it generally for any length
less than sizeof (LONGEST), rather than special-casing sizeof (char),
sizeof (short), and sizeof (long).  Clarify comment on what this
is for.

30 years ago * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
Jim Kingdon [Tue, 21 Sep 1993 17:41:45 +0000 (17:41 +0000)] 
* symfile.c (deduce_language_from_filename): Accept .cxx for C++.
* buildsym.c (start_subfile): Use deduce_language_from_filename
rather than checking for .C or .cc ourself.

30 years ago * nlmconv.c (main): Adjust data section size to correspond to bss
Ian Lance Taylor [Mon, 20 Sep 1993 23:31:57 +0000 (23:31 +0000)] 
* nlmconv.c (main): Adjust data section size to correspond to bss
alignment adjustment.  Clear BSF_SECTION_SYM if symbol is moved to
a different section.  Use time_t for time variable.
(setup_sections): Only put sections with contents in output NLM.
(i386_mangle_relocs): No symbols are common at this point.  Add
casts to avoid warnings.

30 years ago * read.c (get_stab_string_offset): Make non-static. Make
Ian Lance Taylor [Mon, 20 Sep 1993 23:29:42 +0000 (23:29 +0000)] 
* read.c (get_stab_string_offset): Make non-static.  Make
arguments const.  Don't align strings to 4 byte boundaries.
* read.h: Declare get_stab_string_offset.
* config/obj-elf.c (obj_elf_section): Set SEC_ALLOC as well as
SEC_LOAD for progbits section.
(obj_elf_init_stab_section): New function.
(adjust_stab_sections): Add casts to avoid warnings.
* config/obj-elf.h (INIT_STAB_SECTION): Call
obj_elf_init_stab_section.
(OBJ_PROCESS_STAB): Removed definition.

30 years ago * elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for a
Ian Lance Taylor [Mon, 20 Sep 1993 23:25:52 +0000 (23:25 +0000)] 
* elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for a
SHF_PROGBITS or SHT_STRTAB section if SEC_ALLOC is set.  Never set
SEC_DATA for a SHF_NOBITS section.

* nlm32-i386.c (nlm_i386_mangle_relocs): Check SEC_LOAD rather
than SEC_CODE | SEC_DATA.  Add some casts to avoid warnings.
* nlmcode.h: Add some casts to avoid warnings.
(nlm_write_object_contents): Ignore relocs for sections that are
neither code nor data.  Just use the symbol value for debugging
symbols; don't offset by the section vma.

30 years agoUse ftp device rather than "load" command.
Rob Savoye [Mon, 20 Sep 1993 23:01:45 +0000 (23:01 +0000)] 
Use ftp device rather than "load" command.

30 years ago* defs.h: Declare argument of re_comp as const char *.
Jim Kingdon [Mon, 20 Sep 1993 21:49:24 +0000 (21:49 +0000)] 
* defs.h: Declare argument of re_comp as const char *.

30 years ago* remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
Jim Kingdon [Mon, 20 Sep 1993 21:20:59 +0000 (21:20 +0000)] 
* remote.c, remote-mips.c: Use sr_get_debug not remote_debug.

30 years ago* README: Say using bfd from another release doesn't generally work.
Jim Kingdon [Mon, 20 Sep 1993 21:04:46 +0000 (21:04 +0000)] 
* README: Say using bfd from another release doesn't generally work.

30 years ago * Makefile.in: define M4, and pass it down to sub-makes;
David D. Zuhn [Mon, 20 Sep 1993 00:04:33 +0000 (00:04 +0000)] 
* Makefile.in: define M4, and pass it down to sub-makes;
all-autoconf now depends on all-m4
* Makefile.in ({AR,RANLIB}_FOR_TARGET): make contingent on
presence of {ar,ranlib} instead of a configured directory

30 years ago* stabs.texinfo (Based Variables): New node.
Jim Kingdon [Sun, 19 Sep 1993 00:32:25 +0000 (00:32 +0000)] 
* stabs.texinfo (Based Variables): New node.

30 years ago * mipsread.c (parse_type): Don't complain() if we guessed struct
Jim Kingdon [Sat, 18 Sep 1993 21:11:25 +0000 (21:11 +0000)] 
* mipsread.c (parse_type): Don't complain() if we guessed struct
and it was a union, or vice versa.

30 years ago * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
Jim Kingdon [Sat, 18 Sep 1993 19:15:36 +0000 (19:15 +0000)] 
* defs.h (make_cleanup): Change PTR to void * when inside PARAMS.

Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
* breakpoint.h (enum bptype): Add bp_call_dummy.
(struct bpstat_what): Add call_dummy field.
* infrun.c (wait_for_inferior): Deal with it.
* breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
* infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
* config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.

30 years ago* gdb.t17/callfuncs.exp: Add "return 0" to end.
Jim Kingdon [Sat, 18 Sep 1993 18:06:11 +0000 (18:06 +0000)] 
* gdb.t17/callfuncs.exp: Add "return 0" to end.

30 years agoAdd i386 SVR4 configuration files that I couldn't add remotely. See
Ian Lance Taylor [Fri, 17 Sep 1993 22:17:52 +0000 (22:17 +0000)] 
Add i386 SVR4 configuration files that I couldn't add remotely.  See
ChangeLog.

30 years ago * config/obj-elf.h (S_GET_SIZE): Define.
Ian Lance Taylor [Fri, 17 Sep 1993 22:16:29 +0000 (22:16 +0000)] 
* config/obj-elf.h (S_GET_SIZE): Define.
(obj_frob_forward_symbol): Define.
* config/tc-i386.c (line_comment_chars): Initialize in all cases.

30 years ago * reloc.c (bfd_perform_relocation): Don't return an error when
Ian Lance Taylor [Fri, 17 Sep 1993 22:13:33 +0000 (22:13 +0000)] 
* reloc.c (bfd_perform_relocation): Don't return an error when
performing a reloc against an undefined weak symbol.
* syms.c (bfd_print_symbol_vandf): Show value of BSF_WEAK rather
than obsolete BSF_EXPORT.

30 years ago Finish up support for i386-sysv4 (without shared libraries):
Ian Lance Taylor [Fri, 17 Sep 1993 22:11:00 +0000 (22:11 +0000)] 
Finish up support for i386-sysv4 (without shared libraries):
* ld.h (flag_is_weak): Define.
* ldlang.c (print_symbol): Mention whether symbol is weak.
(print_input_section): Print weak symbols as globals.
* ldmain.c (refize): Do not zero out BSF_WEAK flag.
(enter_global_ref): Do not warn if a weak symbol redefines a
global symbol.  Do not let a weak symbol redefine a common symbol.
(enter_file_symbols): Treat weak symbols as global symbols.
(subfile_wanted_p): Do not pull in an object file from a archive
just to resolve an undefined weak symbol.
* ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
error; the error might be that malloc has run out of space.
* ldsym.c (write_file_locals): Treat weak symbols as global.
* configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
use i386-elf.
* config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
* config/i386-elf.mt: New file; set EMUL to elf_i386.
* emulparams/elf_i386.sh: New file.
* scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
* Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
(ALL_EMULATIONS): Add em_elf_i386.o.
(GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
(em_elf_i386.c): New target, like other em_*.c targets.
($(LD_PROG)): Pass $(CFLAGS) to $(CC).
* genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument.  If
nonempty, and configured for native, add it to LIB_PATH.

30 years agoAdded statements for stab sections in coff files.
Stan Shebs [Fri, 17 Sep 1993 20:16:17 +0000 (20:16 +0000)] 
Added statements for stab sections in coff files.

30 years ago * remote-sim.h: New file.
Jim Kingdon [Fri, 17 Sep 1993 17:27:43 +0000 (17:27 +0000)] 
* remote-sim.h: New file.
* remote-sim.c: Add remote debug feature.  Rename stuff to distinguish
interface to simulator from gdb-specific stuff.  Other changes.
start-sanitize-v9
* remote-sp64sim.c: Renamed to remote-sim.c.
Use sr_get_debug instead of our own sim_verbose/simif_snoop.
Use gnutarget in call to bfd_openr.
Rename simif_* to gdbsim_*.
* config/sparc/sp64sim.mt: Change remote-sp64sim.c to remote-sim.c.
end-sanitize-v9

30 years ago * gdb.stabs/ecoff.mt: Remove STABSCC hack.
Peter Schauer [Fri, 17 Sep 1993 11:51:28 +0000 (11:51 +0000)] 
    * gdb.stabs/ecoff.mt:  Remove STABSCC hack.
        * gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
by mips cc and contains no stabs entries.

30 years ago * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
Peter Schauer [Fri, 17 Sep 1993 11:47:59 +0000 (11:47 +0000)] 
* alpha-dis.c (print_insn_alpha), alpha-opc.h:  Fix bugs, use
info->fprintf_func for printing and info->print_address_func for
address output.

30 years ago * findvar.c (extract_signed_integer): Cast *p to LONGEST before doing
Peter Schauer [Fri, 17 Sep 1993 11:46:50 +0000 (11:46 +0000)] 
* findvar.c (extract_signed_integer):  Cast *p to LONGEST before doing
the xor and subtract.  Otherwise it will not sign extend if the type
of LONGEST is larger than int.
* cp-valprint.c (cp_print_class_method):  Inhibit core dump if
domain is an undefined cross reference.
* valops.c (call_function_by_hand):  Set real_pc to correct

30 years ago* hosts/{alphaosf.h, amix.h, apollo68.h, apollov68.h,
John Gilmore [Fri, 17 Sep 1993 09:14:31 +0000 (09:14 +0000)] 
* hosts/{alphaosf.h, amix.h, apollo68.h, apollov68.h,
decstation.h, delta88.h, dgux.h, dose.h, go32.h, harris.h,
hp300.h, hp300bsd.h, hppabsd.h, hppahpux.h, i386aix.h, i386bsd.h,
i386linux.h, i386lynx.h, i386v.h, i386v4.h, irix3.h, irix4.h,
mipsbsd.h, ncr3000.h, rs6000.h, rtbsd.h, solaris2.h, sparc-ll.h,
std-host.h, stratus.h, sun3.h, sysv4.h, tahoe.h, ultra3.h,
vaxult.h, vaxult2.h, we32k.h}:  Make sure that "offsetof" is
defined on all hosts, now that archive.c uses it.

30 years agoMake sure that "offsetof" is defined on all hosts, now that archive.c uses it.
John Gilmore [Fri, 17 Sep 1993 09:08:00 +0000 (09:08 +0000)] 
Make sure that "offsetof" is defined on all hosts, now that archive.c uses it.

30 years ago* config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
Jim Kingdon [Fri, 17 Sep 1993 04:54:52 +0000 (04:54 +0000)] 
* config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.

30 years ago * sym.h, symconst.h: Add comment stating these files are not part
Jim Kingdon [Fri, 17 Sep 1993 03:32:10 +0000 (03:32 +0000)] 
* sym.h, symconst.h: Add comment stating these files are not part
of GDB, GAS, etc.  In 1991, when we asked rms whether we could
include these files in GDB (although they are copyrighted by
someone besides the FSF), he said it was OK if they were not
considered part of GDB.

30 years ago * stabs.texinfo (Negative Type Numbers): Re-write discussions of
Jim Kingdon [Fri, 17 Sep 1993 00:50:09 +0000 (00:50 +0000)] 
* stabs.texinfo (Negative Type Numbers): Re-write discussions of
names, sizes, and formats to suggest how not to lose.

30 years ago * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
Jim Kingdon [Thu, 16 Sep 1993 23:45:46 +0000 (23:45 +0000)] 
* remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
to tm-a29k.h and a29k-tdep.c and make it an enum.
* a29k-tdep.c (a29k_get_processor_type): New function.  Fix many
aspects of how we detected the processor type.
* remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
rather than figuring out the type ourselves.

30 years ago * config/vx-gdb.exp: Use fake device to load files rather than
Rob Savoye [Thu, 16 Sep 1993 23:27:10 +0000 (23:27 +0000)] 
* config/vx-gdb.exp: Use fake device to load files rather than
NFS.
* lib/gdb.exp: New proc to do "file" command.
* config/unix-gdb.exp: Use new "file" proc.

30 years agoUse new proc for "file" command to load symbol tables.
Rob Savoye [Thu, 16 Sep 1993 23:21:56 +0000 (23:21 +0000)] 
Use new proc for "file" command to load symbol tables.

30 years ago * elfcode.h (elf_map_symbols): Create section symbols for all
Ian Lance Taylor [Thu, 16 Sep 1993 22:24:33 +0000 (22:24 +0000)] 
* elfcode.h (elf_map_symbols): Create section symbols for all
sections, not just allocated sections; debugging sections can have
relocs.
(elf_symbol_from_bfd_symbol): If there is an output section, use
the section index from that rather than the input section.

30 years ago* infrun.c (wait_for_inferior): Allow user to single step within
Stu Grossman [Thu, 16 Sep 1993 20:18:26 +0000 (20:18 +0000)] 
* infrun.c (wait_for_inferior):  Allow user to single step within
a stack dummy.

30 years ago * dbxread.c (copy_pending): Deal with END NULL.
Jim Kingdon [Thu, 16 Sep 1993 19:54:47 +0000 (19:54 +0000)] 
* dbxread.c (copy_pending): Deal with END NULL.
(process_one_symbol): Add comments about what common_block NULL means.

30 years ago* sparc-stub.c (_trap_low): Do restore/save sequence after
Stu Grossman [Thu, 16 Sep 1993 19:16:19 +0000 (19:16 +0000)] 
* sparc-stub.c (_trap_low):  Do restore/save sequence after
setting sp to ensure that we load the previous window from the
right place on the stack.

30 years ago * tc.h: Declare tc_gen_reloc differently depending upong
Ian Lance Taylor [Thu, 16 Sep 1993 18:26:36 +0000 (18:26 +0000)] 
* tc.h: Declare tc_gen_reloc differently depending upong
RELOC_EXPANSION_POSSIBLE.
* config/obj-elf.c (obj_elf_section): Only set flags when first
creating the section.

30 years ago * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Ian Lance Taylor [Thu, 16 Sep 1993 17:57:19 +0000 (17:57 +0000)] 
* config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Rework board rebooting slightly.
(gdb_exit): Don't exit from the remote shell; there isn't one.
* gdb.stabs/weird.exp: If a program is being debugged already,
kill it.
* gdb.t04/setvar.exp: Stop and restart gdb.
* gdb.t05/expr.exp: Likewise.
* gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
restart gdb and reload the program.
* gdb.t08/opaque.exp: Likewise.
* gdb.t12/scope.exp: Likewise.
* gdb.t13/bitfields.exp: Likewise.
* gdb.t15/funcargs.exp: Likewise.
* gdb.t20/classes.exp: Likewise.
* gdb.t03/ptype.exp: Increase timeout.
* gdb.t16/printcmds.exp (test_print_string_constants,
test_print_array_constants): Likewise.
* gdb.t17/callfuncs.exp (do_function_calls): Likewise.
* gdb.t20/classes.exp (do_tests): Likewise.
* gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.

30 years ago * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
Peter Schauer [Thu, 16 Sep 1993 07:39:41 +0000 (07:39 +0000)] 
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.

30 years ago * mipsread.c: Many changes for alpha ecoff format:
Peter Schauer [Thu, 16 Sep 1993 07:38:42 +0000 (07:38 +0000)] 
* mipsread.c:  Many changes for alpha ecoff format:
Correct sizeof(int) == sizeof(long) assumptions.
Replace stParsed hack by putting the parsed types on the pending chain.
Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
provide default for cross debugging.
Swapping the symbol back is no longer needed as the symbol is not
modified anymore.
Add new alpha basic types, handle btTypedef, handle stStaticProc
external symbols .
Update and clean up cross_ref for alpha cc cross ref variations.
Allocate types on the type_obstack to inhibit storage leaks.
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.
* gdbtypes.c (recursive_dump_type):  Dump TYPE_TAG_NAME if it is set.

30 years agoChange wierd to weird
Ian Lance Taylor [Wed, 15 Sep 1993 22:17:29 +0000 (22:17 +0000)] 
Change wierd to weird

30 years ago * libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
Ian Lance Taylor [Wed, 15 Sep 1993 20:57:47 +0000 (20:57 +0000)] 
* libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
xor and subtract.  Otherwise it will not sign extend if the type
of bfd_vma is larger than int.

30 years ago * remote-utils.[ch]: new files of functions collected from several
Jim Kingdon [Wed, 15 Sep 1993 20:20:23 +0000 (20:20 +0000)] 
* remote-utils.[ch]: new files of functions collected from several
  different remote targets.

30 years ago * gdb.t13/bitfields.exp: Test for bad output rather than waiting
Jim Kingdon [Wed, 15 Sep 1993 17:39:33 +0000 (17:39 +0000)] 
* gdb.t13/bitfields.exp: Test for bad output rather than waiting
for timeout.  Add "known gcc 2.4.5 bug" to failure message.

30 years ago * paread.c, coffread.c, elfread.c, dwarfread.c:
Jim Kingdon [Wed, 15 Sep 1993 16:45:44 +0000 (16:45 +0000)] 
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.

30 years ago * ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffset
Ian Lance Taylor [Wed, 15 Sep 1993 15:58:11 +0000 (15:58 +0000)] 
* ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffset
and frameoffset as signed numbers.  From Peter Schauer.

30 years agofix replacement of multiline values for CC and CXX
David D. Zuhn [Wed, 15 Sep 1993 02:11:35 +0000 (02:11 +0000)] 
fix replacement of multiline values for CC and CXX

30 years ago * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
Jim Kingdon [Wed, 15 Sep 1993 00:47:45 +0000 (00:47 +0000)] 
* gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
(do_tests): Remove xfail for whatis on one_var and two_var.

30 years ago * stabsread.c (read_type): Process "s" (size) type attribute.
Jim Kingdon [Wed, 15 Sep 1993 00:46:55 +0000 (00:46 +0000)] 
* stabsread.c (read_type): Process "s" (size) type attribute.
If type is defined to another type, copy the type.

30 years ago * paread.c, coffread.c, elfread.c, dwarfread.c:
Jim Kingdon [Tue, 14 Sep 1993 23:26:43 +0000 (23:26 +0000)] 
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> before libbfd.h.

30 years ago * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
Ian Lance Taylor [Tue, 14 Sep 1993 22:41:49 +0000 (22:41 +0000)] 
* config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
* config/i386/i386v4.mt (TDEPFILES): ...to here.

30 years ago * elf32-i386.c (elf_howto_table): Add bfd_elf_generic_reloc
Ian Lance Taylor [Tue, 14 Sep 1993 22:29:26 +0000 (22:29 +0000)] 
* elf32-i386.c (elf_howto_table): Add bfd_elf_generic_reloc
special function for all reloc entries.
* elf32-target.h (TARGET_LITTLE_SYM): Add SEC_CODE to
section_flags.
* libelf.h (elf_symbol_type): Remove desc, type and other fields.
* Makefile.in (elf32-*.o): These depend upon elf32-target.h.

30 years ago * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
Ian Lance Taylor [Tue, 14 Sep 1993 22:28:22 +0000 (22:28 +0000)] 
* config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;
set previous_section and previous_subsection and then call s_data
and s_text, respectively.
(obj_pseudo_table): Add data and text.
(obj_elf_section): Add SEC_LOAD to default initialization of
flags.  Treat .rodata1 like .rodata.  Set SEC_LOAD as well as
SEC_ALLOC for "alloc" string.  Don't bother trying to find the
section; just use subseg_new.

30 years ago Tue Sep 14 14:34:45 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
Steve Chamberlain [Tue, 14 Sep 1993 21:39:33 +0000 (21:39 +0000)] 
 Tue Sep 14 14:34:45 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)

  * libbfd-in.h (struct artdata):  Add armap_timestamp and
  armap_datepos here too.

30 years agofix serial.h inclusion
K. Richard Pixley [Tue, 14 Sep 1993 20:08:23 +0000 (20:08 +0000)] 
fix serial.h inclusion

30 years agouse remote-utils facilities for baud_rate
K. Richard Pixley [Tue, 14 Sep 1993 19:34:15 +0000 (19:34 +0000)] 
use remote-utils facilities for baud_rate

30 years ago* paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h.
Jim Kingdon [Tue, 14 Sep 1993 18:10:42 +0000 (18:10 +0000)] 
* paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h.

30 years agoSome more gcc lint, and:
Ian Lance Taylor [Tue, 14 Sep 1993 17:58:35 +0000 (17:58 +0000)] 
Some more gcc lint, and:

* read.c (change_to_section): Removed.  This is now done by
subseg_new.
(get_stab_string_offset): Rearranged somewhat.  Create the section
using subseg_new.  Store the string index in seg_info, rather than
in a static variable.  Force the first string to be empty.  Use
frag_more rather than FRAG_APPEND_1_CHAR.
(s_stab_generic): Rewrote.
* subsegs.h (segment_info_type): Added stabu union.
* subsegs.c (subseg_new): Initialize stab_string_size to 0.
* config/obj-aout.c: Don't include aout/stab_gnu.h.
(obj_aout_stab, obj_aout_desc): Removed.
(obj_pseudo_table): Removed desc and stabX entries.
* config/obj-bout.c: Same changes as config/obj-aout.c.
* config/obj-bout.h (S_SET_TYPE): Define.
(tc_bout_fix_to_chars): Declare.
* config/obj-coff.c (obj_coff_stab): Removed.
(obj_pseudo_table): Removed desc and stabX entries.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define.
* config/obj-coffbfd.c (current_stab_symbol): Removed.
* config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type,
n_other, n_desc and n_value fields.
(S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed.
(MAKE_STAB_SYMBOL): Removed.
* config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab.
Changed arguments and removed parsing code.
(obj_pseudo_table): Removed stabX entries.
* config/obj-ecoff.h (ecoff_stab): Declare.
(OBJ_PROCESS_STAB): Define.
* config/obj-elf.c: Don't include aout/stab_gnu.h.
(obj_elf_stab, obj_elf_xstab, obj_elf_desc,
elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic):
Removed.
(obj_pseudo_table): Removed desc, stabX and xstabs entries.
(obj_elf_version): Use subseg_new, not bfd_make_section.  Don't
set SEC_LOAD for .note section.
(adjust_stab_sections): Get frag pointer from seg_info, rather
than looking through frags.
* config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Define.
* config/obj-vms.c (obj_aout_stab): Removed.
(obj_pseudo_table): Removed stabX entries.
* config/obj-vms.h (S_SET_TYPE): Define.

30 years ago * paread.c: Include <time.h> before libbfd.h.
Jim Kingdon [Tue, 14 Sep 1993 17:32:45 +0000 (17:32 +0000)] 
* paread.c: Include <time.h> before libbfd.h.

* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.

30 years ago * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
Jim Kingdon [Tue, 14 Sep 1993 16:22:07 +0000 (16:22 +0000)] 
* Makefile.in (a29k-tdep.o): Depend on $(defs_h).
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
if this is a transparent procedure.

30 years ago* remote-udi.c (udi_wait): Return inferior_pid not 0.
Jim Kingdon [Tue, 14 Sep 1993 16:19:30 +0000 (16:19 +0000)] 
* remote-udi.c (udi_wait): Return inferior_pid not 0.

30 years agoAvoid minor warning in archive.c change.
John Gilmore [Tue, 14 Sep 1993 04:19:40 +0000 (04:19 +0000)] 
Avoid minor warning in archive.c change.

30 years ago* hosts/std-host.h (offsetof): Define, if not already, for archive.c.
John Gilmore [Tue, 14 Sep 1993 04:15:23 +0000 (04:15 +0000)] 
* hosts/std-host.h (offsetof):  Define, if not already, for archive.c.

30 years agoImprove timestamp support in BSD archive files to avoid linker
John Gilmore [Tue, 14 Sep 1993 04:13:43 +0000 (04:13 +0000)] 
Improve timestamp support in BSD archive files to avoid linker
warnings.

* libbfd.h (struct artdata):  Add armap_timestamp and armap_datepos.
(bfd_flush, bfd_stat):  Add prototypes.
* libbfd.c (bfd_flush):  Add, does fflush on a BFD.
(bfd_stat):  Add, does fstat on a BFD.

* archive.c (_bfd_write_archive_contents): At end of file writing,
verify and possibly update the timestamp in the armap, if a BSD
archive.  FIXME!  Kludge recognizes BSD archive, rather than
vectoring properly.  Should add to xvec.
(compute_and_write_armap):  Move prototype to top, avoid PROTO.
(bsd_write_armap): Save timestamp and file location thereof, when
writing the armap in a BSD file.
(bsd_update_armap_timestamp):  New function to check and
rewrite the timestamp.

30 years ago * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
Jim Kingdon [Tue, 14 Sep 1993 01:08:22 +0000 (01:08 +0000)] 
* remote.c: Define remote_debug to 0 and #if 0 baud_rate.  Temporary
hack so this file compiles again.

* remote-utils.c (gr_multi_scan): Cast return value from alloca.
(gr_multi_scan): #if 0 never-reached return(-1).

30 years agoadd comment
Jim Kingdon [Mon, 13 Sep 1993 23:06:17 +0000 (23:06 +0000)] 
add comment

30 years agoadd som.c and som.h
Jim Kingdon [Mon, 13 Sep 1993 22:51:51 +0000 (22:51 +0000)] 
add som.c and som.h

30 years agocollect some remote things into remote-utils
K. Richard Pixley [Mon, 13 Sep 1993 22:12:16 +0000 (22:12 +0000)] 
collect some remote things into remote-utils

30 years ago * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Ian Lance Taylor [Mon, 13 Sep 1993 21:32:07 +0000 (21:32 +0000)] 
* subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Wrote non-BFD_ASSEMBLER subseg_new.  Now subseg_new always takes a
section name, and subseg_set always takes a segT.  Changed all
callers as appropriate.
* config/obj-coffbfd.c  (change_to_section): Renamed to
obj_coff_add_segment.  Corrected.  Made callers use subseg_new.
* config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
Define.

Also some more gcc warning removal.

30 years ago * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
Jim Kingdon [Mon, 13 Sep 1993 20:54:00 +0000 (20:54 +0000)] 
* inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed.  If it was ever set to a non-zero value, it was before
GDB 2.8.  It doesn't seem to have any useful function.

30 years agoconfig/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.
David Edelsohn [Mon, 13 Sep 1993 20:16:03 +0000 (20:16 +0000)] 
config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.

30 years ago* defs.h: Don't define NORETURN (see comment).
Jim Kingdon [Mon, 13 Sep 1993 20:13:03 +0000 (20:13 +0000)] 
* defs.h: Don't define NORETURN (see comment).

30 years agowhite space change to avoid nested comment
K. Richard Pixley [Mon, 13 Sep 1993 19:52:23 +0000 (19:52 +0000)] 
white space change to avoid nested comment

30 years agodo not echo recursion lines
K. Richard Pixley [Mon, 13 Sep 1993 19:49:33 +0000 (19:49 +0000)] 
do not echo recursion lines

30 years ago * m68k.h (two): Protect second argument with parentheses.
Ian Lance Taylor [Mon, 13 Sep 1993 19:47:41 +0000 (19:47 +0000)] 
* m68k.h (two): Protect second argument with parentheses.

30 years agouse pagas instead of gas
David D. Zuhn [Mon, 13 Sep 1993 19:33:54 +0000 (19:33 +0000)] 
use pagas instead of gas

30 years agouse mt-hppa, use 'gas ' instead of 'gas'
David D. Zuhn [Mon, 13 Sep 1993 19:29:54 +0000 (19:29 +0000)] 
use mt-hppa, use 'gas ' instead of 'gas'

30 years agoAdd EMUL=h8300h.
David Edelsohn [Sun, 12 Sep 1993 23:12:31 +0000 (23:12 +0000)] 
Add EMUL=h8300h.

30 years ago* ldmain.c (main): Call set_scripts_dir after argv has been processed.
David Edelsohn [Sun, 12 Sep 1993 23:07:40 +0000 (23:07 +0000)] 
* ldmain.c (main): Call set_scripts_dir after argv has been processed.

30 years ago * hosts/i386sco.h: Define a bunch of stuff for core files.
Jim Kingdon [Sun, 12 Sep 1993 05:09:08 +0000 (05:09 +0000)] 
* hosts/i386sco.h: Define a bunch of stuff for core files.
* sco-core.c: Remove, replace by trad-core.c.
* trad-core.c: If HOST_STACK_START_ADDR is defined, use it.
* config/i386sco.mh: Use trad-core not sco-core.
* hosts/i386isc.h, config/i386isc.mh: Remove.
* configure.host: Use i386sco for isc.
* config/i386-sco.mt: Remove, identical to i386-coff.mt.
* config.bfd: Use i386-coff not i386-sco.

30 years ago* gdb.texinfo: Clarify how well it works with Fortran.
Jim Kingdon [Sun, 12 Sep 1993 05:00:53 +0000 (05:00 +0000)] 
* gdb.texinfo: Clarify how well it works with Fortran.

30 years ago * config.bfd: Recognize i[34]86-*-solaris2* specifically rather
Jim Kingdon [Sun, 12 Sep 1993 01:16:45 +0000 (01:16 +0000)] 
* config.bfd: Recognize i[34]86-*-solaris2* specifically rather
than using *-*-solaris2* (i486-unknown-solaris2 is i386-elf, not
i486-elf which doesn't exist).

30 years ago* m88k-nat.c (fill_gregset): Set r31 and sfip.
Jim Kingdon [Sat, 11 Sep 1993 17:48:47 +0000 (17:48 +0000)] 
* m88k-nat.c (fill_gregset): Set r31 and sfip.

30 years ago* stabs.texinfo (Methods): Fix typo.
Jim Kingdon [Sat, 11 Sep 1993 16:36:01 +0000 (16:36 +0000)] 
* stabs.texinfo (Methods): Fix typo.

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