Jason Thorpe
15d72a927a
* alpha-tdep.c (alpha_skip_prologue_internal): Remove
...
GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to
indicate that the condition it was testing is always true.
* config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove.
* config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
* config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
2002-04-26 01:22:41 +00:00
Jason Thorpe
accc6d1ff3
* alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.
...
* alpha-linux-tdep.c (alpha_linux_init_abi): Initialize
tdep->jb_pc and tdep->jb_elt_size.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise.
* alphafbsd-tdep.c (alphafbsd_init_abi): Likewise.
* alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
* alpha-nat.c (get_longjmp_target): Remove.
(JB_ELEMENT_SIZE): Ditto.
(JB_PC): Ditto.
* alpha-tdep.c (alpha_get_longjmp_target): New function.
(alpha_gdbarch_init): Default tdep->jb_pc to -1. If the
OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target
to alpha_get_longjmp_target.
(alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size.
* config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove.
* config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
2002-04-26 01:08:19 +00:00
Alan Modra
d5ba2a0169
daily update
2002-04-26 00:00:05 +00:00
Andrew Cagney
1bfdc5496f
* README: Update to GDB 5.2.
2002-04-25 23:26:23 +00:00
Andrew Cagney
1bd316f05b
* gdbarch.sh (LC_ALL): Set to `c'.
2002-04-25 23:16:03 +00:00
Theodore A. Roth
2e5ff58c05
* avr-tdep.c: Ran through gdb_indent.sh.
2002-04-25 21:22:12 +00:00
Theodore A. Roth
e33ce51979
* MAINTAINERS: Add myself as AVR maintainer.
...
* NEWS: Note new target avr.
2002-04-25 20:48:55 +00:00
Theodore A. Roth
8818c391f7
* Makefile.in: Add support for AVR target.
...
* configure.tgt: Add support for AVR target.
* avr-tdep.c: New file
* config/avr/avr.mt: New file.
2002-04-25 20:34:56 +00:00
Theodore A. Roth
79509c2d51
* MAINTAINERS: Add myself to write-after-approval.
2002-04-25 18:20:07 +00:00
Pierre Muller
dac8068ed4
2002-04-24 Pierre Muller <ics.u-strasbg.fr>
...
* f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,...
with fprintf_unfiltered (gdb_stderr,....
2002-04-25 16:33:11 +00:00
Pierre Muller
25bf310635
2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
...
Fix PR gdb/508.
* symfile.c (add_filename_language): Fix wrong xrealloc size argument.
2002-04-25 16:29:27 +00:00
Pierre Muller
24467a8686
2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
...
* p-exp.y: Also use new prev_lexptr variable
to improve error reporting. Based on Michael Snyder
2002-04-24 dated patch to c-exp.y.
2002-04-25 14:51:29 +00:00
Elena Zannoni
6c95717af0
2002-04-25 Elena Zannoni <ezannoni@redhat.com>
...
* readelf.c (get_AT_name): Handle DW_AT_GNU_vector.
2002-04-25 12:48:04 +00:00
Elena Zannoni
a41e566586
2002-04-24 Elena Zannoni <ezannoni@redhat.com>
...
* dwarf2.h: Add DW_AT_GNU_vector.
2002-04-25 12:46:16 +00:00
Nick Clifton
3c25c5f6e8
The patch contains mostly fixes for the disassembler. It also fixes
...
a crash of the assembler with some malformed source input.
Long segmented addresses are now correctly relocated.
Finally it updates my email address in the MAINTAINERS file.
2002-04-25 10:59:24 +00:00
Jason Thorpe
95b8070695
* alpha-tdep.c (alpha_breakpoint_from_pc): New function.
...
(alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to
alpha_breakpoint_from_pc. Set gdbarch_function_start_offset
to 0.
* config/alpha/tm-alpha.h: Remove forward decls of struct type
and struct value.
(FUNCTION_START_OFFSET): Remove.
(BREAKPOINT): Ditto.
2002-04-25 06:22:22 +00:00
Chris Demetriou
c9b9995a38
2002-02-24 Chris Demetriou <cgd@broadcom.com>
...
* mips.igen: Fix formatting of calls to Unpredictable().
2002-04-25 05:37:03 +00:00
Jason Thorpe
e90cc6124a
* MAINTAINERS: Reflect that multi-arch is enabled for VAX.
...
* NEWS: Ditto.
2002-04-25 05:19:49 +00:00
Jason Thorpe
6c72f9f974
* alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
...
(alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to
alpha_linux_pc_in_sigtramp.
* alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
(alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
alpha_osf1_pc_in_sigtramp.
* alpha-tdep.c (alpha_osf_in_sigtramp): Remove.
* alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
(alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to
alphafbsd_pc_in_sigtramp.
* alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
(alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
alphanbsd_pc_in_sigtramp.
* config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
* config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
2002-04-25 05:06:08 +00:00
Jason Thorpe
5e4f33793e
* config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
2002-04-25 02:50:19 +00:00
Jason Thorpe
da8ca43db6
* Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and
...
alphanbsd-tdep.c.
(alphanbsd-nat.o): New dependency list.
(alphanbsd-tdep.o): Ditto.
* NEWS: Note new native NetBSD/alpha configuration.
* alphanbsd-nat.c: New file.
* alphanbsd-tdep.c: Ditto.
* configure.host (alpha*-*-netbsd*): New host.
* configure.tgt (alpha*-*-netbsd*): New target.
* config/alpha/nbsd.mh: New file.
* config/alpha/nbsd.mt: Ditto.
* config/alpha/nm-nbsd.h: Ditto.
* config/alpha/tm-nbsd.h: Ditto.
2002-04-25 02:44:05 +00:00
Jason Thorpe
36a6271d5e
* Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.
...
(alpha-osf1-tdep.o): New dependency list.
* alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset
and skip_sigtramp_frame members.
* alpha-linux-tdep.c: Include gdbcore.h.
(alpha_linux_sigtramp_offset): Change return type to LONGEST.
(alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset.
* alpha-osf1-tdep.c: New file.
* alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to
alpha-osf1-dep.c.
(alpha_frame_past_sigtramp_frame): New function.
(alpha_dynamic_sigtramp_offset): Ditto.
(alpha_proc_desc_is_dyn_sigtramp): Ditto.
(alpha_set_proc_desc_is_dyn_sigtramp): Ditto.
(ALPHA_PROC_SIGTRAMP_MAGIC): Define.
(push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp.
(after_prologue): Use alpha_proc_desc_is_dyn_sigtramp.
(find_proc_desc): Use alpha_dynamic_sigtramp_offset.
(alpha_frame_chain): Use alpha_frame_past_sigtramp_frame.
(alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp.
(alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp.
(alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset
and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code
to find_solib_trampoline_target.
* config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o.
* config/alpha/tm-alpha.h: Remove inclusion of regcache.h.
(SKIP_TRAMPOLINE_CODE): Remove.
(PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(DYNAMIC_SIGTRAMP_OFFSET): Ditto.
(FRAME_PAST_SIGTRAMP_FRAME): Ditto.
* config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove.
(PROC_SIGTRAMP_MAGIC): Ditto.
(PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
(DYNAMIC_SIGTRAMP_OFFSET): Ditto.
(FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2002-04-25 02:28:57 +00:00
Jason Thorpe
2f4bc57b95
* NEWS: Note that Alpha targets are now multi-arch.
2002-04-25 01:21:58 +00:00
Alan Modra
96c4b5e0c7
daily update
2002-04-25 00:00:08 +00:00
gdbadmin
78f1567b8e
*** empty log message ***
2002-04-25 00:00:03 +00:00
Michael Snyder
665132f945
2002-04-24 Michael Snyder <msnyder@redhat.com>
...
* parser-defs.h (prev_lexptr): New external variable.
* parse.c (parse_exp_1): Set prev_lexptr to null before
calling the language-specific parser.
* c-exp.y (yylex): Set prev_lexptr to start of current token.
(yyerror): Use prev_lexptr in error reporting.
2002-04-24 22:26:32 +00:00
Daniel Jacobowitz
6ff9af88cb
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-24 22:11:28 +00:00
Daniel Jacobowitz
32872fa78e
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
...
* config/i386/tm-linux.h: Define FILL_FPXREGSET.
* gregset.h: If FILL_FPXREGSET is defined, provide
gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset.
* linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET
is defined, call fill_fpxregset.
2002-04-24 22:09:58 +00:00
Chris Demetriou
af55c2e6c3
2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
...
* config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
instructions to be generated by macros.
2002-04-24 21:52:47 +00:00
Michael Snyder
57e76facc3
2002-04-24 Roland McGrath <roland@frob.com>
...
* config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here.
* i386gnu-nat.c [HAVE_SYS_PROCFS_H]
(supply_gregset, supply_fpregset): New functions.
* gnu-nat.c (gnu_find_memory_regions): New function.
(init_gnu_ops): Set `to_find_memory_regions' hook to that.
(gnu_xfer_memory): Add a cast.
2002-04-24 21:44:47 +00:00
Michael Snyder
11832e60a3
clean up cvs merge conflict flags.
2002-04-24 21:22:36 +00:00
Michael Snyder
f43845b38e
2002-04-24 Michael Snyder <msnyder@redhat.com>
...
* arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the
loop. Add handling for "str lr, [sp, #-4]!" and for saves
of argument regs ("str r(0123), [r11, #-nn"]).
(arm_skip_prologue): Better handling for frameless functions.
Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]".
(arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
2002-04-24 21:22:06 +00:00
Chris Demetriou
40d32fc608
2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
...
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or
MIPS-16 ASE flags are set, print something to indicate that.
2002-04-24 18:49:00 +00:00
Andrew Cagney
a0abec0350
* arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
...
NUM_PSEUDO_REGS can be used.
2002-04-24 18:25:45 +00:00
Andrew Cagney
d7bd68ca3c
* arch-utils.h: Update copyright.
...
* gdbarch.sh (PC_IN_SIGTRAMP): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (IN_SIGTRAMP): Delete definition.
* arch-utils.c (legacy_pc_in_sigtramp): New function.
* arch-utils.h (legacy_pc_in_sigtramp): Declare.
* mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
(mips_dump_tdep): Do not print value of IN_SIGTRAMP.
* hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP.
(find_proc_framesize): Ditto.
* alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
(alpha_init_extra_frame_info): Ditto.
* infrun.c (handle_inferior_event): Ditto.
(handle_inferior_event): Ditto.
(check_sigtramp2): Ditto.
* blockframe.c (create_new_frame): Ditto.
(get_prev_frame): Ditto.
* ppc-linux-tdep.c: Update comments.
* i386-linux-tdep.c: Update comments.
* breakpoint.c (bpstat_what): Update comment.
* gdbint.texinfo (Target Architecture Definition): Replace
IN_SIGTRAMP with PC_IN_SIGTRAMP.
2002-04-24 16:28:16 +00:00
Michal Ludvig
d06f167ab3
2002-04-24 Michal Ludvig <mludvig@suse.cz>
...
* gdbserver/linux-low.c (regsets_fetch_inferior_registers),
(regsets_store_inferior_registers): Removed cast to int from
ptrace() calls.
* gdbserver/regcache.h: Added declaration of struct inferior_info.
2002-04-24 15:33:55 +00:00
Andreas Schwab
062cd5e7fc
* config/tc-i386.c (output_jump, output_disp)
...
(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
more.
(md_apply_fix3): Remember addend value for rela relocations.
(tc_gen_reloc): Correctly compute pc-relative relocation addend.
2002-04-24 14:56:07 +00:00
David S. Miller
21d83aa55a
2002-04-24 David S. Miller <davem@redhat.com>
...
* i960-tdep.c (register_in_window_p): New function.
(i960_find_saved_register): Use it instead of
REGISTER_IN_WINDOW_P.
* config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.
2002-04-24 David S. Miller <davem@redhat.com>
* gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition.
2002-04-24 13:48:39 +00:00
Nick Clifton
c6ed57bdd2
Add Indonesian translation
2002-04-24 09:01:51 +00:00
David S. Miller
4867e41ec7
2002-04-24 David S. Miller <davem@redhat.com>
...
* symtab.h (find_stab_function_addr): Kill extern.
* minsyms.c (find_stab_function_addr): Remove from here...
* dbxread.c: ... to here, and mark it static.
2002-04-24 08:00:54 +00:00
David S. Miller
69cdf6a234
2002-04-20 David S. Miller <davem@redhat.com>
...
* sparc-tdep.c (sparc_pop_frame): Only need to allocate
SPARC_INTREG_SIZE * 16 bytes for reg_temp.
2002-04-24 07:12:27 +00:00
David S. Miller
5a595886e4
2002-04-21 David S. Miller <davem@redhat.com>
...
* remote-vxsparc.c (vx_read_register): Fix typo, we want
REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
(vx_write_register): Likewise.
2002-04-24 05:34:52 +00:00
Elena Zannoni
96b3d632cb
2002-04-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/help.exp: Change 'help status' to allow for target
dependent output differences.
2002-04-24 03:07:33 +00:00
gdbadmin
79ebd1633b
*** empty log message ***
2002-04-24 00:00:34 +00:00
Alan Modra
9146f2980c
daily update
2002-04-24 00:00:05 +00:00
Michael Snyder
11d3b27da0
2002-04-22 Michael Snyder <msnyder@redhat.com>
...
* arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
2002-04-23 18:10:06 +00:00
H.J. Lu
b7efdfcc1b
2002-04-23 H.J. Lu <hjl@gnu.org>
...
* gas/mips/elempic.d: Use empic.l.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
2002-04-23 17:20:22 +00:00
H.J. Lu
978ee720ae
2002-04-23 H.J. Lu <hjl@gnu.org>
...
* gas/hppa/parse/parse.exp: Don't expect failure on line separator
test on hppa*-*-linux* nor hppa*-*-netbsd*.
2002-04-23 16:19:08 +00:00
Joel Brobecker
1da1a19239
* source.c (is_regular_file): New function.
...
(openp): Check wether file to open is a regular file
to avoid opening directories.
2002-04-23 11:09:10 +00:00
Michael Chastain
5019bb5448
2002-04-22 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-23 05:18:28 +00:00