aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-09-23* remote.texi (Bootstrapping): Discuss 386 call gates.Jim Kingdon2-5/+7
1993-09-23Add i386lynx-tdep.c.Stu Grossman1-0/+1
1993-09-23 * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O wasJim Kingdon2-4/+5
intended only for VxWorks. Remove dcache.o from TDEPFILES now that we pick it up from the default REMOTE_O.
1993-09-23CVS:Kung Hsu1-12/+16
1993-09-22* mips-tdep.c (mips_frame_chain): If frame size zero, return zero.Jim Kingdon2-5/+7
1993-09-22 * mips-tdep.c (mips_frame_chain): If PROC_FRAME_OFFSET is zero,Jim Kingdon2-3/+17
then return zero.
1993-09-22 infcmd.c (step_1),K. Richard Pixley2-11/+2
infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef and insert macro.
1993-09-22* remote-nindy.c: Declare ninMemGet and ninMemPut.Jim Kingdon2-0/+6
1993-09-22* Makefile.in: Add i386lynx-tdep to the right places.Stu Grossman9-70/+452
(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.
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-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-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-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-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 * 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* config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.Jim Kingdon2-1/+10
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* 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 * 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 * 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 * 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.