aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-09-16* sparc-stub.c (_trap_low): Do restore/save sequence afterStu Grossman2-3/+10
setting sp to ensure that we load the previous window from the right place on the stack.
1993-09-16 * tc.h: Declare tc_gen_reloc differently depending upongIan Lance Taylor2-11/+50
RELOC_EXPANSION_POSSIBLE. * config/obj-elf.c (obj_elf_section): Only set flags when first creating the section.
1993-09-16 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.Ian Lance Taylor3-10/+44
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.
1993-09-16 * config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.Peter Schauer1-0/+4
1993-09-16 * mipsread.c: Many changes for alpha ecoff format:Peter Schauer3-162/+309
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.
1993-09-15Change wierd to weirdIan Lance Taylor12-684/+124
1993-09-15 * libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing theIan Lance Taylor1-0/+4
xor and subtract. Otherwise it will not sign extend if the type of bfd_vma is larger than int.
1993-09-15 * remote-utils.[ch]: new files of functions collected from severalJim Kingdon1-0/+2
different remote targets.
1993-09-15 * gdb.t13/bitfields.exp: Test for bad output rather than waitingJim Kingdon1-0/+5
for timeout. Add "known gcc 2.4.5 bug" to failure message.
1993-09-15 * paread.c, coffread.c, elfread.c, dwarfread.c:Jim Kingdon4-1/+4
Include <time.h> and <sys/types.h> before libbfd.h.
1993-09-15 * ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffsetIan Lance Taylor1-0/+5
and frameoffset as signed numbers. From Peter Schauer.
1993-09-15fix replacement of multiline values for CC and CXXDavid D. Zuhn1-0/+23
1993-09-15 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.Jim Kingdon2-9/+27
(do_tests): Remove xfail for whatis on one_var and two_var.
1993-09-15 * stabsread.c (read_type): Process "s" (size) type attribute.Jim Kingdon2-14/+57
If type is defined to another type, copy the type.
1993-09-14 * paread.c, coffread.c, elfread.c, dwarfread.c:Jim Kingdon1-0/+1
Include <time.h> before libbfd.h.
1993-09-14 * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...Ian Lance Taylor2-1/+6
* config/i386/i386v4.mt (TDEPFILES): ...to here.
1993-09-14 * elf32-i386.c (elf_howto_table): Add bfd_elf_generic_relocIan Lance Taylor3-5/+10
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.
1993-09-14 * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;Ian Lance Taylor1-0/+9
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.
1993-09-14 Tue Sep 14 14:34:45 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)Steve Chamberlain2-41/+13
* libbfd-in.h (struct artdata): Add armap_timestamp and armap_datepos here too.
1993-09-14fix serial.h inclusionK. Richard Pixley4-6/+24
1993-09-14use remote-utils facilities for baud_rateK. Richard Pixley5-26/+26
1993-09-14* paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h.Jim Kingdon3-3/+10
1993-09-14Some more gcc lint, and:Ian Lance Taylor9-821/+116
* 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.
1993-09-14 * paread.c: Include <time.h> before libbfd.h.Jim Kingdon2-0/+12
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
1993-09-14 * Makefile.in (a29k-tdep.o): Depend on $(defs_h).Jim Kingdon3-2/+20
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0 if this is a transparent procedure.
1993-09-14* remote-udi.c (udi_wait): Return inferior_pid not 0.Jim Kingdon1-1/+1
1993-09-14Avoid minor warning in archive.c change.John Gilmore1-0/+2
1993-09-14* hosts/std-host.h (offsetof): Define, if not already, for archive.c.John Gilmore1-0/+5
1993-09-14Improve timestamp support in BSD archive files to avoid linkerJohn Gilmore4-125/+388
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.
1993-09-14 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. TemporaryJim Kingdon3-5/+49
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).
1993-09-13add commentJim Kingdon1-0/+1
1993-09-13add som.c and som.hJim Kingdon1-0/+2
1993-09-13collect some remote things into remote-utilsK. Richard Pixley6-630/+1056
1993-09-13 * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.Ian Lance Taylor16-547/+729
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.
1993-09-13 * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses ofJim Kingdon4-48/+147
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.
1993-09-13config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.David Edelsohn1-7/+70
1993-09-13* defs.h: Don't define NORETURN (see comment).Jim Kingdon2-3/+39
1993-09-13white space change to avoid nested commentK. Richard Pixley1-0/+4
1993-09-13do not echo recursion linesK. Richard Pixley1-15/+24
1993-09-13 * m68k.h (two): Protect second argument with parentheses.Ian Lance Taylor1-0/+9
1993-09-13use pagas instead of gasDavid D. Zuhn1-0/+17
1993-09-13use mt-hppa, use 'gas ' instead of 'gas'David D. Zuhn2-5/+21
1993-09-12Add EMUL=h8300h.David Edelsohn1-0/+6
1993-09-12* ldmain.c (main): Call set_scripts_dir after argv has been processed.David Edelsohn1-0/+4
1993-09-12 * hosts/i386sco.h: Define a bunch of stuff for core files.Jim Kingdon4-350/+0
* 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.
1993-09-12* gdb.texinfo: Clarify how well it works with Fortran.Jim Kingdon1-0/+1
1993-09-12 * config.bfd: Recognize i[34]86-*-solaris2* specifically ratherJim Kingdon2-0/+7
than using *-*-solaris2* (i486-unknown-solaris2 is i386-elf, not i486-elf which doesn't exist).
1993-09-11* m88k-nat.c (fill_gregset): Set r31 and sfip.Jim Kingdon1-2/+2
1993-09-11* stabs.texinfo (Methods): Fix typo.Jim Kingdon2-1/+5
1993-09-11More gcc lint with harsher warning options.Ian Lance Taylor3-26/+14