Commit Graph

18480 Commits

Author SHA1 Message Date
Orjan Friberg e013ee27c9 2005-05-12 Orjan Friberg <orjanf@axis.com>
* target.h (struct target_ops): Add insert_watchpoint,
	remove_watchpoint, stopped_by_watchpoint, stopped_data_address function
	pointers for hardware watchpoint support.
	* linux-low.h (struct linux_target_ops): Ditto.
	* linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint)
	(linux_stopped_by_watchpoint, linux_stopped_data_address): New.  Add
	to linux_target_ops.
	* remote-utils.c (prepare_resume_reply): Add watchpoint information to
	reply packet.
	* server.c (main): Recognize 'Z' and 'z' packets.
2005-05-12 12:14:23 +00:00
Eli Zaretskii 119b882a3d * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like we
do with other non-standard names of init files.
2005-05-12 09:05:45 +00:00
Eli Zaretskii b41cde4409 * config/djgpp/config.sed: Adapt to latest Autoconf.
* config/djgpp/djconfig.sh: Add -Wpointer-arith and
	-Wuninitialized to the build warnings.
2005-05-12 08:42:12 +00:00
gdbadmin 2ee96ac168 *** empty log message *** 2005-05-12 00:00:03 +00:00
Eli Zaretskii 6fc08d328b * gdb.texinfo (Command Files): Move the description of the startup
from here...
	(Startup): ...to this new subsection of the Invocation chapter.
	Rearrange the description of init files more logically and add a
	cross-reference to "Command Files".  Document the special gdbinit
	name for CISCO 68k.  Expand the description of what GDB does
	during startup.
	(History): Add index entry for HISTSIZE.
2005-05-11 15:47:49 +00:00
Eli Zaretskii 6791e1b14a * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
	Fix mappings for hilo-hazard-?.s.
2005-05-11 13:35:56 +00:00
Eli Zaretskii fe09a05518 Fix a typo in bunzip2.. 2005-05-11 07:29:35 +00:00
Eli Zaretskii 0d4fc997e2 Update GDB versions and my email address. 2005-05-11 07:26:26 +00:00
gdbadmin 5c4bdb2d22 *** empty log message *** 2005-05-11 00:00:03 +00:00
Ulrich Weigand b0ded00b3f * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions.
	(the_low_target): Add new members.
2005-05-10 13:48:59 +00:00
gdbadmin 2f6b7e013b *** empty log message *** 2005-05-10 00:00:02 +00:00
Andrew Cagney fc1a4b4705 2005-05-09 Andrew Cagney <cagney@gnu.org>
Use gdb_byte in preference to bfd_byte.
	* gdbarch.sh: Update.
	* gdbarch.h, gdbarch.c: Re-generate.
	* ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
	* c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
	* f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
	* jv-valprint.c, language.c, language.h, m2-lang.c: Update.
	* m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
	* p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
	* scm-lang.h, scm-valprint.c, target.c, target.h: Update.
	* tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
	* valprint.h, value.c, value.h: Update.
2005-05-09 21:20:35 +00:00
Mark Kettenis 8cc49c4855 * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
Use `gdb_byte *' for regs.
* vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
(vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
gdb_byte for buf.
(vax_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for break_insn.
(vax_skip_prologue): Use gdb_byte for op.
2005-05-09 20:00:40 +00:00
Mark Kettenis 8142f7cb8b * i387-tdep.c: Remove outdated comments. 2005-05-09 19:53:44 +00:00
Mark Kettenis 8b04f8b6ef * defs.h: Unconditionally include <sys/types.h>. 2005-05-09 17:20:18 +00:00
Daniel Jacobowitz 979b38e00b * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
section like .plt.
2005-05-09 03:36:10 +00:00
gdbadmin f992505246 *** empty log message *** 2005-05-09 00:00:02 +00:00
Mark Kettenis 4252dc94bd * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
Change type to `static const gdb_byte'.
(i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
(i386_linux_sigcontext_addr): Use gdb_byte for buf.
* amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
const gdb_byte'.
(amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
gdb_byte for buf.
* amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
(amd64fbsd_collect_uthread): Use gdb_byte for buf.
2005-05-08 22:07:27 +00:00
Mark Kettenis d46bfb5c37 * config/ia64/nm-aix.h: Remove file. 2005-05-08 19:50:39 +00:00
Mark Kettenis e447028cb4 Fix typo. 2005-05-08 18:01:31 +00:00
Mark Kettenis d8de1ef788 * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
(amd64_push_arguments): Use gdb_byte instead of bfd_byte.  Use
gdb_byte for buf.
(amd64_push_dummy_call): Use gdb_byte for buf.
(amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
(amd64_frame_cache, amd64_sigtramp_frame_cache)
(amd64_unwind_dummy_id): Use gdb_byte for buf.
(amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
regs.
* amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
casts.
(amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
*' for buf,
2005-05-08 18:00:07 +00:00
Mark Kettenis 63c0089f20 * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
`const gdb_byte *'.  Use gdb_byte for break_insn.
(i386_follow_jump): Use gdb_byte for op.
(i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
and op.
(i386_skip_probe): Use gdb_byte for buf and op.
(struct i386_insn): Use gdb_byte for insn and mask.
(i386_match_insn, i386_analyze_frame_setup)
(i386_analyze_register_saves): Use gdb_byte for op.
(i386_skip_prologue): Use gdb_byte for pic_pat and op;
(i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
(i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
buf.
(i386_extract_return_value, i386_store_return_value): Use
`bfd_byte *' instead of `void *' for valbuf argument.  Remove now
redundant cast.
(i386_pseudo_register_read, i386_pseudo_register_write): Use
gdb_byte for mmx_buf.
(i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
instead of `char *' for buf.
(i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
instead of `char *' for regs.
(i386_svr4_sigcontext_addr): Use gdb_byte for buf.
* i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
sigreturn and `gdb_byte *' for buf.
(i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
(i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
for buf.
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
2005-05-08 16:27:34 +00:00
Mark Kettenis b57b6c2e22 * defs.h (gdb_byte): New typedef. Tweak comments. 2005-05-08 14:57:41 +00:00
Mark Kettenis 9cedd1a6ad * target.h (target_link): Remove prototype.
* target.c (target_link): Remove function.
* symfile.c: Remove comment about rombug.
2005-05-08 14:46:52 +00:00
Bob Rossi 6006a3a1ec Add the fullname_syntax testsuite variable. This allows GDB to make sure
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
2005-05-08 13:42:04 +00:00
gdbadmin c41aea10b5 *** empty log message *** 2005-05-08 00:00:34 +00:00
gdbadmin 61bd574fdd *** empty log message *** 2005-05-07 00:00:33 +00:00
gdbadmin 539a2ce3aa *** empty log message *** 2005-05-06 00:00:33 +00:00
gdbadmin f1d618edc6 *** empty log message *** 2005-05-05 00:00:05 +00:00
Daniel Jacobowitz c3b69c04b9 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*. 2005-05-04 21:21:42 +00:00
Daniel Jacobowitz 8643e2ad06 * proc-service.c (ps_lgetregs): Search all_processes instead of
all_threads.
2005-05-04 19:10:32 +00:00
Daniel Jacobowitz fc620387c9 * server.c (start_inferior): Change return type to int.
(attach_inferior): Change sigptr to int *.
	(handle_v_cont, handle_v_requests): Change signal to int *.
	(main): Change signal to int.
2005-05-04 18:51:38 +00:00
Mark Kettenis f8736ddfb1 * config/i386/cygwin.mh (XM_FILE): Remove variable.
* config/i386/xm-cygwin.h: Remove file.
2005-05-04 16:29:54 +00:00
gdbadmin 6502566e6e *** empty log message *** 2005-05-04 00:00:04 +00:00
Paul Gilliam 3c95e6af3b 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (skip_altivec_tests): New function, based on
        check_vmx_hw_available from the GCC testsuite.
        * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
        * lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
gdbadmin a798f6e0c2 *** empty log message *** 2005-05-03 00:00:02 +00:00
Ben Elliston 8bbde30215 * infrun.c (handle_inferior_event): Update the comment about users
of stepped_after_stopped_by_watchpoint.
2005-05-02 23:56:36 +00:00
Jim Blandy 78df6c563d * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Mark Kettenis a561754a23 * gdb.texinfo (Files): Remove documentation for auto-solib-limit. 2005-05-02 20:42:27 +00:00
Eli Zaretskii 514c4d7110 * gdb.texinfo (SVR4 Process Information, The isatty call)
(The system call): Don't use foo(N) notation for man pages and
	functions.
	(Compilation, DJGPP Native): Improve wording.
2005-05-02 20:28:48 +00:00
Corinna Vinschen 079c8cd052 * MAINTAINERS: Remove hint that sh64 doesn't build.
* sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
	(sh64_do_fp_register): make raw_buffer unsigned.
	(sh64_do_register): Ditto.
2005-05-02 15:23:37 +00:00
Mark Kettenis 5ebc08b005 * bsd-uthread.c: Include "solib.h".
* Makefile.in (bsd-uthread.o): Update dependencies.
2005-05-02 12:05:11 +00:00
gdbadmin 3a4b8b94a0 *** empty log message *** 2005-05-02 00:00:03 +00:00
Daniel Jacobowitz 5dbe23a34e * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
cached frames when changing gdbarch.
	* gdbarch.c: Regenerated.
2005-05-01 23:16:46 +00:00
Andrew Cagney 87d088f521 2005-05-01 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
	do not build.
2005-05-01 23:07:33 +00:00
Eli Zaretskii 2eecc4abe2 (SVR4 Process Information, The isatty call, The system call): Don't use the
foo(N) notation for man pages and functions.
2005-05-01 21:27:44 +00:00
Andrew Cagney 5a168c78ef 2005-05-01 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_extract_return_value)
	(breakpoint_from_pc, deprecated_store_return_value)
	(memory_insert_breakpoint, memory_remove_breakpoint): Change type
	of buffer to a bfd_byte pointer.
	* gdbarch.h, gdbarch.c: Re-generate.
	* mem-break.c (memory_insert_breakpoint)
	(memory_remove_breakpoint, default_memory_insert_breakpoint)
	(default_memory_remove_breakpoint): Update.
	* target.h (memory_insert_breakpoint)
	(memory_remove_breakpoint, default_memory_insert_breakpoint)
	(default_memory_remove_breakpoint): Update declarations.
	(struct target_ops): Update to_insert_breakpoint and
	to_remove_breakpoint.
	* target.c (debug_to_remove_breakpoint)
	(debug_to_insert_breakpoint): Update.
	* remote-m32r-sdi.c (m32r_remove_breakpoint)
	(m32r_insert_breakpoint): Update.
	* m32r-tdep.c (m32r_memory_insert_breakpoint)
	(m32r_memory_remove_breakpoint): Update.
	* remote-e7000.c (e7000_insert_breakpoint)
	(e7000_remove_breakpoint): Update.
	* remote-rdi.c (arm_rdi_insert_breakpoint)
	(arm_rdi_remove_breakpoint): Update.
	* remote-sim.c (gdbsim_insert_breakpoint)
	(gdbsim_remove_breakpoint): Update.
	* exec.c (ignore): Update.
	* rs6000-tdep.c (rs6000_extract_return_value): Update.
	* ia64-tdep.c (ia64_memory_insert_breakpoint)
	(ia64_memory_remove_breakpoint): Update.
	* remote-rdp.c (remote_rdp_insert_breakpoint)
	(remote_rdp_remove_breakpoint): Update.
2005-05-01 19:58:55 +00:00
Mark Kettenis e908eab4d8 * somsolib.c, somsolib.h: Remove files.
* Makefile.in (somsolib_h): Remove.
(somsolib.o): Remove dependency.
2005-05-01 16:04:24 +00:00
Mark Kettenis 68b9939aec * fbsd-nat.c: Include <sys/sysctl.h>.
(fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
available.  Plug memory leak.  Fixes PR gdb/1922.
2005-05-01 10:06:12 +00:00
gdbadmin 5308fd89d5 *** empty log message *** 2005-05-01 00:00:33 +00:00