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
Mark Kettenis
57ac95b8fc
* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
...
parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.
2004-11-19 21:55:24 +00:00
gdbadmin
c457f63246
*** empty log message ***
2004-11-19 00:00:31 +00:00
Mark Kettenis
ceddaf06ac
* dbxread.c (process_one_symbol): Do not adjust address of first
...
N_SLINE stab for a function for code generated by non-GCC
compilers.
2004-11-18 22:37:22 +00:00
Kevin Buettner
915a2d21dd
* solib-null.c: New file.
2004-11-18 17:23:05 +00:00
Andrew Cagney
92790ee734
2004-11-17 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Drop MIPS and remote.
2004-11-18 00:16:33 +00:00
gdbadmin
90f90d2cef
*** empty log message ***
2004-11-18 00:00:03 +00:00
gdbadmin
4f151830a9
*** empty log message ***
2004-11-17 00:00:02 +00:00
gdbadmin
c98fd1d524
*** empty log message ***
2004-11-16 00:00:32 +00:00
Andrew Cagney
0c16dd26a8
2004-11-15 Andrew Cagney <cagney@gnu.org>
...
* findvar.c (value_of_register): Set the frame ID.
* value.c (value_primitive_field): Copy the frame ID.
* valops.c (value_assign): Simplify lval_register case, there's
always a frame.
2004-11-15 22:17:59 +00:00
gdbadmin
62d5693236
*** empty log message ***
2004-11-15 00:00:01 +00:00
Daniel Jacobowitz
2fdf551c88
* Makefile.in (mips-linux-tdep.o): Update dependencies.
...
* mips-linux-tdep.c: Include "regcache.h".
(fill_fpregset, mips64_fill_fpregset): Use regcache_raw_collect.
2004-11-14 19:29:46 +00:00
Daniel Jacobowitz
98754800c6
* Makefile.in (linux-thread-db.o): Fix typo in last change.
2004-11-14 18:53:32 +00:00
Daniel Jacobowitz
ed89d17542
* linux-thread-db.c: New file, renamed from thread-db.c.
...
* thread-db.c: Remove.
* Makefile.in (linux-thread-db.o): Rename from thread-db.o rule.
* config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o
to linux-thread-db.o.
* config/arm/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/sparc/linux.mh (NATDEPFILES): Likewise.
* config/sparc/linux64.mh (NATDEPFILES): Likewise.
2004-11-14 18:47:52 +00:00
Daniel Jacobowitz
f073ae8c82
* gdb.threads/threadapply.exp: Correct "macro details" test.
2004-11-14 18:45:17 +00:00
Andrew Cagney
f97fe8ff79
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/i386/i386lynx.mh: Delete file.
* config/i386/i386lynx.mt: Delete file.
* Makefile.in (ALLDEPFILES, i386ly-tdep.o): Remove i386ly-tdep.c.
* i386ly-tdep.c: Delete.
2004-11-14 03:57:04 +00:00
Andrew Cagney
5873946b90
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/tm-lynx.h: Delete, inline contents ...
* config/rs6000/tm-rs6000ly.h: ... here.
2004-11-14 03:09:26 +00:00
Andrew Cagney
a69637bd40
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* config/tm-sysv4.h: Delete file, inlining contents.
* config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.
2004-11-14 02:56:34 +00:00
Andrew Cagney
8851ec7ac2
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* regcache.h (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
* regcache.c (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
(deprecated_read_register_byte, _initialize_regcache)
(deprecated_write_register_bytes, build_regcache): Update.
* config/powerpc/ppc-sim.mt (TDEPFILES): Remove ppc-bdm.o and
remote-sds.o.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Ditto.
* config/mips/embed.mt (TDEPFILES): Remove remote-mips.o.
2004-11-14 01:11:07 +00:00
Andrew Cagney
9445aa303f
2004-11-13 Andrew Cagney <cagney@gnu.org>
...
* NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and
v850-*-* under removed.
* configure.host: Delete ns32k-*-netbsd*.
* configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*,
ns32k-*-netbsd*, and v850*-*-*.
* MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as
"Deleted"
* config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete.
* h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete.
* mcore-tdep.c, config/mn10300/mn10300.mt: Delete.
* mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete.
* config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete.
* config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete.
* ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete.
* ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete.
* v850-tdep.c: Delete.
2004-11-14 00:10:55 +00:00
gdbadmin
e3ab723477
*** empty log message ***
2004-11-14 00:00:33 +00:00
Joel Brobecker
f6e1bffc2b
* irix5-nat.c (fetch_core_registers): Replace use of
...
deprecated_registers by equivalent code.
2004-11-13 23:49:31 +00:00
Joel Brobecker
44ed547b2d
* irix5-nat.c (fill_gregset): Replace use of deprecated_registers
...
with equivalent code.
(fill_fpregset): Likewise.
2004-11-13 23:40:01 +00:00