aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-09-22 * breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argumentJim Kingdon3-34/+47
not_a_breakpoint. * infrun.c (wait_for_inferior): Pass it. Also consolidate the test of whether we are stepping into a CURRENTLY_STEPPING macro.
1993-09-22 * breakpoint.c (bpstat_stop_status),K. Richard Pixley4-33/+56
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.
1993-09-22 * config/m88k/tm-m88k.h: white space and comment changes. includeK. Richard Pixley1-110/+239
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.
1993-09-21(objfile_relocate): Relocate textlow and texthigh in psymtabs.Jim Kingdon1-0/+4
1993-09-21* breakpoint.c (breakpoint_1): Support bp_call_dummy.Jim Kingdon3-4/+8
1993-09-21 * Makefile.in: Remove definition of CC and remove the secondJim Kingdon1-0/+7
definition of CXX (the "CXX = gcc" one remains). These definitions were causing backquotes to be expanded within backquotes, which doesn't work.
1993-09-21 * elfread.c (record_minimal_symbol_and_info): Guess the section toIan Lance Taylor3-2/+70
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.
1993-09-21Snapshot of current i386 NetWare debugging stub.Ian Lance Taylor1-46/+65
Added some more debugging information. Added handling of memory fault errors when caused by invalid memory accesses. Always use N response, not S.
1993-09-21Whitespace/comment fixups.Ken Raeburn1-65/+45
Mention a29k, not sparc, in error messages and comments.
1993-09-21* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.Jim Kingdon3-0/+10
1993-09-21Add comment regarding section designation:Jim Kingdon1-1/+8
Mon Sep 6 15:43:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * remote.c (remote_wait): Added 'W' and 'N' responses.
1993-09-21 * printcmd.c (print_scalar_formatted): When truncating value we areJim Kingdon1-0/+6
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.
1993-09-21 * symfile.c (deduce_language_from_filename): Accept .cxx for C++.Jim Kingdon2-7/+10
* buildsym.c (start_subfile): Use deduce_language_from_filename rather than checking for .C or .cc ourself.
1993-09-20 * nlmconv.c (main): Adjust data section size to correspond to bssIan Lance Taylor1-0/+21
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.
1993-09-20 * read.c (get_stab_string_offset): Make non-static. MakeIan Lance Taylor2-4/+42
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.
1993-09-20 * elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for aIan Lance Taylor2-4/+17
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.
1993-09-20Use ftp device rather than "load" command.Rob Savoye1-69/+16
1993-09-20* defs.h: Declare argument of re_comp as const char *.Jim Kingdon2-2/+6
1993-09-20* remote.c, remote-mips.c: Use sr_get_debug not remote_debug.Jim Kingdon3-25/+24
1993-09-20* README: Say using bfd from another release doesn't generally work.Jim Kingdon1-0/+4
1993-09-20 * Makefile.in: define M4, and pass it down to sub-makes;David D. Zuhn1-0/+14
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
1993-09-19* stabs.texinfo (Based Variables): New node.Jim Kingdon2-4/+49
1993-09-18 * mipsread.c (parse_type): Don't complain() if we guessed structJim Kingdon2-2/+15
and it was a union, or vice versa.
1993-09-18 * defs.h (make_cleanup): Change PTR to void * when inside PARAMS.Jim Kingdon7-129/+236
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.
1993-09-18* gdb.t17/callfuncs.exp: Add "return 0" to end.Jim Kingdon1-0/+4
1993-09-17Add i386 SVR4 configuration files that I couldn't add remotely. SeeIan Lance Taylor5-0/+14
ChangeLog.
1993-09-17 * config/obj-elf.h (S_GET_SIZE): Define.Ian Lance Taylor2-8/+32
(obj_frob_forward_symbol): Define. * config/tc-i386.c (line_comment_chars): Initialize in all cases.
1993-09-17 * reloc.c (bfd_perform_relocation): Don't return an error whenIan Lance Taylor1-0/+7
performing a reloc against an undefined weak symbol. * syms.c (bfd_print_symbol_vandf): Show value of BSF_WEAK rather than obsolete BSF_EXPORT.
1993-09-17 Finish up support for i386-sysv4 (without shared libraries):Ian Lance Taylor2-4/+34
* 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.
1993-09-17Added statements for stab sections in coff files.Stan Shebs1-0/+14
1993-09-17 * remote-sim.h: New file.Jim Kingdon6-631/+337
* 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
1993-09-17 * gdb.stabs/ecoff.mt: Remove STABSCC hack.Peter Schauer2-4/+11
* gdb.stabs/weird.exp: Handle the case where weird.o is compiled by mips cc and contains no stabs entries.
1993-09-17 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, usePeter Schauer1-2/+3
info->fprintf_func for printing and info->print_address_func for address output.
1993-09-17 * findvar.c (extract_signed_integer): Cast *p to LONGEST before doingPeter Schauer3-5/+21
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
1993-09-17* hosts/{alphaosf.h, amix.h, apollo68.h, apollov68.h,John Gilmore1-0/+11
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.
1993-09-17Make sure that "offsetof" is defined on all hosts, now that archive.c uses it.John Gilmore29-46/+154
1993-09-17* config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.Jim Kingdon2-1/+10
1993-09-17 * sym.h, symconst.h: Add comment stating these files are not partJim Kingdon1-0/+10
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.
1993-09-17 * stabs.texinfo (Negative Type Numbers): Re-write discussions ofJim Kingdon2-18/+62
names, sizes, and formats to suggest how not to lose.
1993-09-16 * remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_typeJim Kingdon6-95/+79
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.
1993-09-16 * config/vx-gdb.exp: Use fake device to load files rather thanRob Savoye1-0/+7
NFS. * lib/gdb.exp: New proc to do "file" command. * config/unix-gdb.exp: Use new "file" proc.
1993-09-16Use new proc for "file" command to load symbol tables.Rob Savoye1-56/+1
1993-09-16 * elfcode.h (elf_map_symbols): Create section symbols for allIan Lance Taylor2-48/+110
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.
1993-09-16* infrun.c (wait_for_inferior): Allow user to single step withinStu Grossman2-8/+16
a stack dummy.
1993-09-16 * dbxread.c (copy_pending): Deal with END NULL.Jim Kingdon1-0/+5
(process_one_symbol): Add comments about what common_block NULL means.
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.