Randolph Chung
46905982ed
2004-11-30 Randolph Chung <tausq@debian.org>
...
* breakpoint.c (break_at_finish_command): Delete.
(break_at_finish_command_1): Delete.
(break_at_finish_at_depth_command): Delete.
(break_at_finish_at_depth_command_1): Delete.
(tbreak_at_finish_command): Delete.
* hppa-tdep.c (_initialize_hppa_tdep): Remove deprecated xbreak, tbreak
and bx commands.
2004-12-01 06:54:56 +00:00
gdbadmin
2b99d679a6
*** empty log message ***
2004-12-01 00:00:06 +00:00
Andrew Cagney
a7711b1fd7
2004-11-30 Andrew Cagney <cagney@gnu.org>
...
* config/nm-gnu.h: Delete file.
* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".
2004-11-30 15:15:27 +00:00
Andrew Cagney
80b93d6b1a
2004-11-30 Andrew Cagney <cagney@gnu.org>
...
* config/nm-sysv4.h: Delete file.
* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".
2004-11-30 15:05:20 +00:00
gdbadmin
2af8501f61
*** empty log message ***
2004-11-30 00:00:33 +00:00
Andrew Cagney
31ffb2216b
2004-11-29 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei
Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390)
as can-commit architecture developers.
2004-11-29 22:29:45 +00:00
Mark Kettenis
075ccec82f
* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
...
(sparc32_skip_prologue): Skip instructions that store arguments in
registers into their corresponding stack slots.
2004-11-29 19:52:44 +00:00
Mark Kettenis
388e0111e7
* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
...
tm-solib.h.
* config/m68k/obsd.mh (NAT_FILE): Likewise.
2004-11-29 15:53:13 +00:00
Mark Kettenis
19671c2bed
* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
...
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global.
* sparcobsd-tdep.c (sparc32obsd_init_abi): Call
sparc32nbsd_elf_init_abi. Remove duplicate code.
2004-11-29 15:20:28 +00:00
Mark Kettenis
77a7fe6d0b
* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
...
* config/sparc/nbsdelf.mh (NAT_FILE): Remove variable.
* config/sparc/nm-nbsd.h: Remove file.
* config/sparc/nm-nbsdaout.h: Remove file.
2004-11-29 11:20:10 +00:00
Paul N. Hilfinger
c817078231
* gdb.base/bitfields2.exp: New test.
...
* gdb.base/bitfields2.c: New file.
2004-11-29 09:11:20 +00:00
Mark Kettenis
cbfc58d125
* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
...
(sparc_xfer_partial): New function.
(sparc_target): Save value of to_xfer_partial from ptrace vector.
Set to_xfer_partial.
2004-11-29 08:41:56 +00:00
Mark Kettenis
3919e12ce5
* fork-child.c (fork_inferior): Fork instead of vfork if
...
PRE_TRACE_FUN is non-null.
2004-11-29 08:37:14 +00:00
gdbadmin
1d5cce3bc9
*** empty log message ***
2004-11-29 00:00:06 +00:00
Richard Earnshaw
954269c2f7
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2004-11-28 23:17:33 +00:00
gdbadmin
91b6903ccb
*** empty log message ***
2004-11-28 00:00:39 +00:00
gdbadmin
bc94873170
*** empty log message ***
2004-11-27 00:00:05 +00:00
gdbadmin
f25861cde0
*** empty log message ***
2004-11-26 00:00:04 +00:00
Fred Fish
ebd98106b2
Approved by Kevin Buettner <kevinb@redhat.com>
...
2004-11-24 Fred Fish <fnf@specifixinc.com>
* rs6000-tdep.c (skip_prologue): Use line table info to skip over
compiler generated function calls made as part of a prologue.
2004-11-25 02:48:27 +00:00
gdbadmin
7a851328ae
*** empty log message ***
2004-11-25 00:00:02 +00:00
gdbadmin
b34bf369e7
*** empty log message ***
2004-11-24 00:00:33 +00:00
Mark Kettenis
eee22bf873
* inf-ttrace.c: New file.
...
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET. Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.
2004-11-23 21:14:33 +00:00
Randolph Chung
3ca6495449
2004-11-23 Randolph Chung <tausq@debian.org>
...
* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static. Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.
2004-11-23 21:05:23 +00:00
Randolph Chung
0107feeddf
2004-11-16 Randolph Chung <tausq@debian.org>
...
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2004-11-23 19:51:35 +00:00
Joel Brobecker
5465445a4b
* sparc-tdep.c (sparc_is_unimp_insn): New function.
...
(sparc32_frame_cache): For functions where there is no debugging
information to help us determine whether it's a struct-return
function or not, fallback on checking whether the instruction
at the return address is an "unimp" instruction or not.
2004-11-23 18:59:14 +00:00
Eli Zaretskii
7b5ba0cc21
Fix last change.
2004-11-23 12:12:15 +00:00
Eli Zaretskii
013717475e
* gdb.texinfo (Files): Add cross-reference to description of
...
-readnow command-line switch.
2004-11-23 12:05:28 +00:00
Dave Anglin
871cce518a
* MAINTAINERS: Add myself to write after approval section.
2004-11-23 01:11:18 +00:00
Dave Anglin
3f6306ec32
* hppa-hpux-nat.c (child_suppress_run): Add variable to allow
...
hpux-thread.c to suppress children from running.
(hppa_hpux_child_can_run): New function.
(_initialize_hppa_hpux_nat): Use hppa_hpux_child_can_run.
* hpux-thread.c: Include string.h and hppa-tdep.h.
(FLAGS_REGNUM, SP_REGNUM, PC_REGNUM): Rename to HPPA_FLAGS_REGNUM,
HPPA_SP_REGNUM and HPPA_PCOQ_HEAD_REGNUM, respectively.
(hpux_thread_store_registers): Replace deprecated_registers with
calls to regcache_raw_read.
* config/pa/hpux11.mh, config/pa/hpux11w.mh: Delete HOST_IPC.
2004-11-23 01:01:59 +00:00
gdbadmin
55903abd03
*** empty log message ***
2004-11-23 00:00:05 +00:00
gdbadmin
ef0f43a9d2
*** empty log message ***
2004-11-22 00:00:34 +00:00
Mark Kettenis
f5ccf7a2c6
* sparc64fbsd-nat.c: Update copyright year.
...
(_initialize_sparc64fbsd_nat): Construct and add target vector.
* config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o.
2004-11-21 20:22:56 +00:00
Daniel Jacobowitz
8c3900e409
* sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL.
2004-11-21 20:11:09 +00:00
Daniel Jacobowitz
b957e93796
* linux-nat.c (my_waitpid): New function.
...
(linux_test_for_tracefork): Make more robust and verbose. Take
an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first.
(linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID
argument. Update calls to linux_test_for_tracefork.
(linux_enable_event_reporting, child_follow_fork)
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update calls to
linux_supports_tracefork and linux_supports_tracevforkdone.
2004-11-21 20:10:02 +00:00
Daniel Jacobowitz
65d3800afd
* valarith.c (value_subscript): Copy VALUE_FRAME_ID.
...
(value_subscripted_rvalue): Likewise.
* valops.c (search_struct_field, value_slice): Likewise.
2004-11-21 19:52:13 +00:00
Mark Kettenis
2c4a536d5d
* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
...
Reorder includes a bit. Fix comment.
* Makefile.in (inf-ptrace.o): Update dependencies.
2004-11-21 13:51:53 +00:00
Andreas Schwab
db1d3e1b97
* linux-m68k-low.c (m68k_num_gregs): Define.
...
(m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
(m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
(m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
(m68k_breakpoint_at): New. Add to the_low_target.
* configure.srv (m68*-*-linux*): Set srv_linux_regsets and
srv_linux_thread_db to yes.
2004-11-21 03:09:39 +00:00
Andreas Schwab
fefa18880b
* m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h".
...
(m68k_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets and gdbarch_skip_solib_resolver
to glibc_skip_solib_resolver.
* config/m68k/linux.mt (TDEPFILES): Add glibc-tdep.o. Remove
solib-legacy.o.
* Makefile.in (m68klinux-tdep.o): Update dependencies.
2004-11-21 01:51:16 +00:00
gdbadmin
27a987e351
*** empty log message ***
2004-11-21 00:00:02 +00:00
Dave Anglin
d564a7d4b1
* infttrace.h (ttrace_write_reg_64): Add prototype.
...
* hppah-nat.c (store_inferior_registers): Fix warning from ambiguous
expression.
(store_inferior_registers): Correct formatting. Replace uses of
deprecated_registers with calls to regcache_raw_read,
regcache_raw_write_part and regcache_raw_read_part.
2004-11-20 23:56:18 +00:00
Mark Kettenis
3f70a5e974
* config/pa/hppahpux.mh: Remove file.
...
* config/pa/hpux1020.mh: Remove file.
2004-11-20 23:04:53 +00:00
Andreas Schwab
ced0d73d51
* configure.host: Set host floatformat for m68k.
2004-11-20 18:16:34 +00:00
Eli Zaretskii
fcf54f50e5
Resolve file-name clash between
...
hppa-hpux-tdep.c and the new hppa-hpux-nat.c.
2004-11-20 18:08:33 +00:00
Mark Kettenis
eeb8076cc0
* hppa-hpux-nat.c: New file.
...
* config/pa/hpux.mh (NATDEPFILES): New file.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c.
(hppa-hpux-nat.o): New dependency.
* configure.host: Remove hppa*-*-hpux10.20.
(hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh.
2004-11-20 17:23:57 +00:00
Mark Kettenis
f6ffd89b00
* inf-ptrace.c: Fix coding style.
2004-11-20 17:03:38 +00:00
Mark Kettenis
f1bc22da72
* gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
...
* infptrace.c (call_ptrace): Simply call ptrace with four
arguments.
2004-11-20 16:52:22 +00:00
Mark Kettenis
e31272c3a6
* dbxread.c (process_one_symbol): Fix a few coding standard
...
issues. Improve code formatting.
2004-11-20 12:38:38 +00:00
Mark Kettenis
91f54576a2
* dbxread.c: Include "gdb_string.h".
...
(record_minimal_symbol, read_ofile_symtab): Replace
DEPRECATED_STREQ and DEPRECATED_STREQN with strcmp and strncmp.
* Makefile.in (dbxread.o): Update dependencies.
2004-11-20 10:20:33 +00:00
Mark Kettenis
a728960949
* dwarf2-frame.c (read_encoded_value): Correctly calculate number
...
of bytes read for aligned LEB128 encodings.
2004-11-20 10:10:17 +00:00
gdbadmin
ef81051b92
*** empty log message ***
2004-11-20 00:00:34 +00:00