aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-12-08Fixes.Jeff Law2-0/+6
1998-12-08*** empty log message ***Jeff Law1-1/+1
1998-12-08Keep restore.c and restore.expJeff Law1-0/+2
1998-12-08Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>Edith Epstein2-34/+23
Merged in m68k-linux patch from Andreas Schwab 1998-12-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * Makefile.in, configure.host, configure.tgt: Add support for m68k-linux. * config/m68k/linux.mh: New file. * config/m68k/linux.mt: New file. * config/m68k/nm-linux.h: New file. * config/m68k/tm-linux.h: New file. * config/m68k/xm-linux.h: New file. * gdb/m68klinux-nat.c: New file. * gdbserver/low-linux.c: Add support for m68k-linux. * gdb/config/m68k/tm-m68k.h (NUM_FREGS): New macro.
1998-12-08Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>Edith Epstein9-4/+384
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch. Added NUM_FREGS macro. * config/m68k/xm-linux.h: m68k-linux patch. New file. * config/m68k/tm-linux.h: m68k-linux patch. New file. * config/m68k/nm-linux.h: m68k-linux patch. New file. * config/m68k/linux.mt: m68k-linux patch. New file. * config/m68k/linux.mh: m68k-linux patch. New file. * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef that checks the value of __GLIBC to decide whether or not to include sys/reg.h. * m68klinux-nat.c: m68k-linux patch. New file. Note both m68k-tdep.c and m68klinux-nat.c contain definitions for supply_gregset and supply_fpregset. The definitions in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise, the definitions in m68klinux-nat.c will be used. This is a bit of a hack. The supply_* routines do not belong in *_tdep.c files. But, there are several lynx ports that currently depend on these definitions. * configure.tgt: m68k-linux patch. Added m68*-*-linux* gdb_target. * configure.host: m68k-linux patch. Added m68*-*-linux* gdb_host. * Makefile.in: m68k-linux patch. Added compile line for m68klinux-nat.o
1998-12-07*** empty log message ***Jim Blandy1-0/+4
1998-12-071998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-10/+7
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition. * config/powerpc/xm-cygwin.h: Ditto. PR 17664. With this define in place, you can't type "q" to get out of GDB's pager under Cygwin.
1998-12-07* rs6000-tdep.c (pop_frame): Correctly find the registers saved inJim Blandy2-17/+25
the stack frame. Their offset from the previous stack frame is in fdata.gpr_offset and fdata.fpr_offset, not fdata.offset. (gdb.base/return.exp) * config/rs6000/tm-rs6000.h: Doc fixes.
1998-12-07*** empty log message ***Jim Blandy1-0/+8
1998-12-041998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda2-1/+8
* monitor.c (monitor_read_memory): Zero out pattern buffers before calling re_search. (parse_register_dump): Ditto. PR 18049. This bug had existed erratically since I upgraded to the new gnu-regex.c this last summer. The problem is mostly in parse_register_dump; the allocated structure has some random values in it and there is a flag set in the register_pattern structure by the gnu-regex library which indicates that the values in the re_registers should be trusted. If those arbitrary contents aren't zero, gnu-regex tries to run realloc on them and we get a core dump on some hosts for some targets when the moon is just right.
1998-12-03 * remote.texi: Changed wording that implied that the GDB remoteStan Shebs2-3/+7
protocol caches register values instead of GDB itself.
1998-12-03FR30 updates/checkpoint.Zdenek Radouch1-0/+9
1998-12-03fr30 update.Zdenek Radouch1-0/+3
1998-12-03Still some bogus code; checkpoint.Zdenek Radouch1-601/+24
1998-12-03Still a lot of bogus code; just a checkpoint.Zdenek Radouch1-115/+90
1998-12-03Clean up function return types. Functions not returning values,Andrew Cagney10-19/+44
functions unnecessarily returning values.
1998-12-03 From Brendan Kehoe:Stan Shebs1-1/+22
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required int return types.
1998-12-03Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+6
* m32r-tdep.c (decode_prologue): If no branch or push fp is found, but there's a stack adjust, then use that as the end of prologue. (m32r_skip_prologue): don't skip past the first line if there is line info. (m32r_virtual_frame_pointer): new function. (m32r_fix_call_dummy): no return value needed.
1998-12-02Wed Dec 2 15:11:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-28/+49
* tracepoint.c: Move default definition of TARGET_VIRTUAL_FRAME_POINTER from here to target.h. * target.h: Add default definition of TARGET_VIRTUAL_FRAME_POINTER. * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): use TARGET_VIRTUAL_FRAME_POINTER to determine frame pointer. (gen_trace_for_expr): new argument, address of tracepoint, gets passed to new_agent_expr and added to struct agent_expr. (is_nontrivial_conversion): call to new_agent_expr now requires a dummy argument. (agent_command): use get_current_frame() to get current PC scope; pass it to gen_trace_for_expr. * ax-general.c (new_agent_expr): new argument, address of tracepoint; store it in new field of struct agent_expr. * ax.h (struct agent_expr): add new field for tracepoint address. * ax-gdb.h: change prototypes to match above changes.
1998-12-02 * gdbint.texinfo: Add some info about symbol readers.Stan Shebs1-0/+8
(CHILL_PRODUCER, etc): Comment out descriptions, not useful. (IN_SOLIB_CALL_TRAMPOLINE): Rename info from IN_SOLIB_TRAMPOLINE. (IN_SOLIB_RETURN_TRAMPOLINE): Describe. (KERNEL_DEBUGGING, MIPSEL): No info about these, remove.
1998-12-01Cleanup open comments.Andrew Cagney1-3/+6
1998-12-01 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters.Doug Evans2-1/+5
1998-11-30CARP:Andrew Cagney26-50/+111
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-29CARP:Andrew Cagney9-11/+49
Convert ADDR_BITS_REMOVE to a function.
1998-11-28CARP:Andrew Cagney31-31/+67
Rewrite INNER_THAN so that it takes parameters.
1998-11-27CARP:Andrew Cagney11-69/+109
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
1998-11-26CARP: Delete ABOUT_TO_RETURN across all targets.Andrew Cagney24-215/+122
1998-11-26* rs6000-tdep.c (rs6000_breakpoint_from_pc): Change big_breakpointAndrew Cagney3-3/+10
and little_breakpoint to char[] from char*. * remote-array.c (array_insert_breakpoint): Change bp_addr to CORE_ADDR type.
1998-11-25CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney17-132/+157
canadian-crossed to host i386-cygwin.
1998-11-25mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): PassAndrew Cagney1-0/+5
address of bplen.
1998-11-25remove some accidentally committed (harmless) code.Felix Lee2-1363/+0
1998-11-25For top level:Gavin Romig-Koch3-0/+47
* config.sub (mips64vr4xxx,mips64vr4xxxel): New. For gcc: * config.sub (mips64vr4xxx,mips64vr4xxxel): New. * configure.in (mips64vr4xxx,mips64vr4xxxel): New. * config/mips/t-vr4xxx: New. * config/mips/elfb4xxx.h: New. * config/mips/elfl4xxx.h: New. * configure: Rebuilt. For gas: * config/tc-mips.c (md_begin): Added mip64vr4xxx as a possible CPU_TARGET. For gdb: * configure.tgt: Handle mips64*vr4xxx. For ld: * configure.tgt: Handle mips64*vr4xxx.
1998-11-24Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-11/+47
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): new target macro. * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function. * tracepoint.c (encode_actions): Use the new target macro to determine the virtual frame pointer, for collecting locals/args. (add_local_symbols, collect_symbol): add a register/offset pair of arguments so that the virtual frame pointer can be passed in.
1998-11-24 * procfs.c (procfs_wait): handle syscall events first.Felix Lee7-64/+1463
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.
1998-11-24CARP: *BREAKPOINT*Andrew Cagney9-28/+123
Convert mn10300, MIPS and powerpc/rs6000 targets to use BREAKPOINT_FROM_PC Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC instead.
1998-11-23Mon Nov 23 11:38:40 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-3/+30
* symfile.c (deduce_language_from_filename): rewrite so as to work from a table of filename extensions, modifiable by the user. (filename_language_table): new data structure. (set_ext_lang_command): new function for new command, "set extension-language". (info_extension_language_command): new function for new command "info extension-languages". (add_filename_language, init_filename_language_table): new support functions for the above. * language.c (language_enum): new function. Support for above.
1998-11-23CARP: Convert macro definitions of USE_STRUCT_CONVENTION into targetAndrew Cagney24-216/+548
specific functions.
1998-11-21Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>Stan Shebs2-96/+61
* breakpoint.c (bpstat_stop_status): Do not increment hit_count of breakpoint if condition is not true.
1998-11-21Sat Nov 21 17:15:40 1998 Philippe De Muyter <phdm@macqel.be>Stan Shebs2-17/+43
* coffread.c (coff_symtab_read): Discard C_LABEL's that are not function entry points, to avoid getting them in the stack dump instead of the actual function.
1998-11-21keep restored fileStan Shebs1-0/+1
1998-11-21 * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;Stan Shebs4-4/+38
without NAT_FILE definition, configure will assume that GDB cannot run native. * config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro. * delta68-nat.c (kernel_u_size): New function.
1998-11-20Added fr30-tdep.c.Zdenek Radouch1-0/+1
1998-11-20Replacing a bogus file with a semi-bogus one (sharing through devo).Zdenek Radouch1-146/+703
1998-11-20Replacing a bogus file with possibly an initial version of the same.Zdenek Radouch1-4/+2
1998-11-20Semi-bogus version of the file (sharing through devo).Zdenek Radouch1-0/+723
1998-11-20CARP:Andrew Cagney2-2/+7
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
1998-11-19Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-8/+17
* rdi-share/host.h: if compiling under Cygwin, make sure new preprocessor define is defined. Define it if not. * rdi-share/hostchan.h: ditto * rdi-share/aclocal.m4: regenerate * rdi-share/configure: regenerate
1998-11-19Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-16/+17
* rdi-share/host.h: if compiling under Cygwin, make sure new preprocessor define is defined. Define it if not. * rdi-share/aclocal.m4: regenerate * rdi-share/configure: regenerate
1998-11-19Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-3/+8
* configure.in: switch back to checking __CYGWIN32__ * configure: regenerate
1998-11-19CARP:Andrew Cagney3-2/+11
* exec.c (exec_file_command): Cleanup. Replace #if NEED_TEXT_START_END with if(). * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1. * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto. * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto. * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.