Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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.
|
|
* 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
|
|
|
|
* 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.
|
|
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.
|
|
|
|
* 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.
|
|
protocol caches register values instead of GDB itself.
|
|
|
|
|
|
|
|
|
|
functions unnecessarily returning values.
|
|
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
int return types.
|
|
* 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.
|
|
* 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.
|
|
(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.
|
|
|
|
|
|
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
|
|
Convert ADDR_BITS_REMOVE to a function.
|
|
Rewrite INNER_THAN so that it takes parameters.
|
|
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!).
|
|
|
|
and little_breakpoint to char[] from char*.
* remote-array.c (array_insert_breakpoint): Change bp_addr to
CORE_ADDR type.
|
|
canadian-crossed to host i386-cygwin.
|
|
address of bplen.
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
Convert mn10300, MIPS and powerpc/rs6000 targets to use
BREAKPOINT_FROM_PC
Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC
instead.
|
|
* 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.
|
|
specific functions.
|
|
* breakpoint.c (bpstat_stop_status): Do not increment hit_count
of breakpoint if condition is not true.
|
|
* 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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
* buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
|
|
* 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
|
|
* 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
|
|
* configure.in: switch back to checking __CYGWIN32__
* configure: regenerate
|
|
* 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.
|