Commit Graph

2363 Commits

Author SHA1 Message Date
Eli Zaretskii c24162389c * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
linux-ppc64-low.c.
2005-05-29 07:36:10 +00:00
Kris Warkentin 42d99eabb5 2005-05-24 Kris Warkentin <kewarken@qnx.com>
* config/i386/nto.mt: Remove remote-nto.o.
2005-05-24 15:43:21 +00:00
Orjan Friberg cc1285c748 2005-05-24 Orjan Friberg <orjanf@axis.com>
* config/djgpp/fnchange.lst: Add mappings for
	gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
2005-05-24 08:27:01 +00:00
Mark Kettenis 2b73aeb128 * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
Reorder includes.  Don't require FETCH_INFERIOR_REGISTERS to be
defined.
(armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
Make static.
(armnbsd_store_registers): Rename from armnbsd_store_registers.
Make static.
(_initialize_arm_netbsd_nat): Construct and add target vector.
* Makefile.in (armnbsd-nat.o): Update dependencies.
* config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
intarg.o, add inf-ptrace.o.
(NAT_FILE): Set to solib.h.
* config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
(NAT_FILE): Remove.
2005-05-22 20:36:19 +00:00
Corinna Vinschen 181124bc7c * MAINTAINERS: Undelete v850.
* Makefile.in: Re-add v850-tdep.o dependencies.
	* configure.tgt: Re-add v850.
	* v850-tdep.c: Reorder code slightly.  Add register number enumerator.
	(struct v850_frame_cache): New structure.
	(v850_processor_type_table): Remove. Move functionality into
	v850_register_name, v850e_register_name and v850_gdbarch_init.
	(v850_register_name): New function.
	(v850e_register_name): New function.
	(struct prologue_info): Remove definition.
	(v850_register_type): New function.
	(v850_type_is_scalar): New function.
	(v850_use_struct_convention): Align to gcc behaviour.
	(v850_handle_prepare): Renamed from handle_prepare. Change third
	parameter to struct v850_frame_cache *.
	(v850_handle_pushm): Renamed from handle_pushm. Change third parameter
	to struct v850_frame_cache *.
	(v850_is_save_register): New function to evaluate if a register is
	caller-save.
	(v850_analyze_prologue): Replace v850_scan_prologue.  Change to support
	new frame code.
	(v850_init_extra_frame_info): Remove.
	(v850_frame_chain): Remove.
	(v850_find_callers_reg): Remove.
	(v850_skip_prologue): Make static.
	(v850_pop_frame): Remove.
	(v850_frame_align): New function.
	(v850_push_dummy_call): Replace v850_push_arguments.
	(v850_push_return_address): Remove.
	(v850_extract_return_value): New function.
	(v850_store_return_value): New function.
	(v850_return_value): New function.
	(v850_frame_saved_pc): Remove.
	(v850_breakpoint_from_pc): New function.
	(v850_alloc_frame_cache): New function.
	(v850_fix_call_dummy): Remove.
	(v850_frame_cache): New function.
	(v850_target_architecture_hook): Remove.
	(v850_frame_prev_register): New function.
	(v850_frame_this_id): New function.
	(v850_frame_unwind): New structure.
	(v850_frame_sniffer): New function.
	(v850_unwind_sp): New function.
	(v850_unwind_pc): New function.
	(v850_unwind_dummy_id): New function.
	(v850_frame_base_address): New function.
	(v850_frame_base): New structure.
	(v850_gdbarch_init): New function.
	* config/v850/v850.mt: Undelete.  Drop TM_FILE.
2005-05-18 08:52:21 +00:00
Mark Kettenis d01e66a538 * config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
* config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
and solib-legacy.o.
(NAT_FILE): Remove.
2005-05-16 13:34:07 +00:00
Mark Kettenis 9aa6bcd811 * config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-15 22:08:45 +00:00
Mark Kettenis a5bf92c592 * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
* config/vax/obsd.mt (TDEPFILES): New file.
2005-05-14 20:21:03 +00:00
Mark Kettenis c872b71745 * config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-14 16:34:53 +00:00
Eli Zaretskii 58d6f3a5e6 Remove XM_FILE. 2005-05-14 10:13:23 +00:00
Eli Zaretskii eaae39195e * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
* go32-nat.c: Include top.h.  Update copyright years.
	(init_go32_ops): Override the default value of gdbinit[] with
	"gdb.ini".

	* cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a
	compile-time literal string GDBINIT_FILENAME.

	* top.c (PATH_MAX): Define if not defined.
	(gdbinit): Declare with a constant size PATH_MAX.

	* config/i386/go32.mh (XM_FILE): Remove.

	* config/i386/xm-go32.h: Remove file.
2005-05-12 21:23:17 +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
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
Mark Kettenis d46bfb5c37 * config/ia64/nm-aix.h: Remove file. 2005-05-08 19:50:39 +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
Mark Kettenis ccf00f2179 * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
(sh_gdbarch_init): Remove redundant prototype.
* sh-linux-tdep.c: New file.
* config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
Remove prototype.
(SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
* config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
solib-legacy.o.
* Makefile.in (sh-linux-tdep.o): New.
2005-04-27 20:48:25 +00:00
Michael Snyder ad35589a2b dos2unix 2005-04-18 23:37:51 +00:00
Michael Snyder 9cacebf50f 2005-04-18 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
	* mn10300-prologue.c: Remove.
	* mn10300-tdep.h: Add enums from mn10300-prologue.c.
	Remove prototypes.
	* config/mn10300/mn10300.mt: Remove mn10300-prologue module.
2005-04-18 23:15:00 +00:00
Michael Snyder 0cc748c077 2005-04-18 Michael Snyder <msnyder@redhat.com>
* config/mn10300/mn10300.mt: Add mn10300-prologue module.
2005-04-18 19:38:17 +00:00
Mark Kettenis 235c4ffdf2 * config/nm-bsd.h: Remove file. 2005-04-17 22:22:47 +00:00
Mark Kettenis 57cd0b542e * hppabsd-nat.c: Update copyright year. Include "target.h" and
"inf-ptrace.h".
(hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(hppabsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_hppabsd_nat): New function and prototype.
* config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (hppabsd-nat.o): Update dependencies.
2005-04-17 22:20:20 +00:00
Mark Kettenis 65d034bc60 * ppcobsd-nat.c: Update copyright year. Include "inf-ptrace.h".
(ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
made static.
(ppcobsd_store_registers): Renamed from store_inferior_registers;
made static.
(_initialize_ppcobsd_nat): Construct and add target vector.
* config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Remove.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2005-04-16 22:12:09 +00:00
Corinna Vinschen c30dc7000d * MAINTAINERS: Change sh64-elf state to non-broken.
* Makefile.in: Fix dependencies for sh64-tdep.o.
	* configure.tgt: Add sh64-*-elf case.
	* sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
	* sh64-tdep.c: Rework to replace all deprecated mechanisms with
	modern methods.
	* config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
	* config/sh/sh64.mt: Resurrect.
2005-04-15 08:01:15 +00:00
Daniel Jacobowitz 9494c6a5dc gdb/
* config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
gdb/testsuite/
	* Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
	gdb.server.
	* configure.ac: Likewise.
	* configure: Regenerated.
	* gdb.gdbserver/Makefile.in: Moved to...
	* gdb.server/Makefile.in: ... here.
	* gdb.gdbserver/server.c: Moved to...
	* gdb.server/server.c: ... here.
	* gdb.gdbserver/server-run.exp: Moved to...
	* gdb.server/server-run.exp: ... here.
2005-04-11 14:13:14 +00:00
Daniel Jacobowitz 6f8eac0e51 gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
	* configure.ac: Create gdb.gdbserver/Makefile.
	* configure: Regenerated.
	* lib/gdbserver-support.exp: New file, derived from
	config/gdbserver.exp.
	* config/gdbserver.exp: Use gdbserver-support.exp.
	* gdb.gdbserver/Makefile.in: New file.
	* gdb.gdbserver/server.c: New file.
	* gdb.gdbserver/server-run.exp: New file.
gdb/
	* config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
2005-04-08 12:57:00 +00:00
Mark Kettenis bac6b01281 * config/sparc/nbsd64.mh (NAT_FILE): Remove. 2005-03-25 22:28:53 +00:00
Mark Kettenis 4d6c7108d5 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o. 2005-03-25 22:25:31 +00:00
Daniel Jacobowitz fb4c6eba43 * Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
	(YYFILES): Add cp-names.c.
	(YYOBJ): Add cp-names.o.
	(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
	(clean): Remove test-cp-names$(EXEEXT).
	(local-maintainer-clean): Remove cp-names.c.
	* cp-names.y: New file.
	* cp-support.c (find_last_component): Delete.
	(d_left, d_right): Define.
	(cp_canonicalize_string, mangled_name_to_comp): New functions.
	(cp_class_name_from_physname, method_name_from_physname): Rewrite
	to use mangled_name_to_comp.
	* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
	(cp_comp_to_string): New prototypes.
	* config/djgpp/fnchange.lst: Add cp-names.c.
2005-03-11 02:24:23 +00:00
Corinna Vinschen 20be272bd7 * Makefile.in: Add dependencies for iq2000-tdep.o.
* configure.tgt: Add iq2000-*-* target.
	* iq2000-tdep.c: New file.
	* config/iq2000/iq2000.mt: New file.
2005-03-08 08:59:47 +00:00
Mark Kettenis 0d6e4ad74b * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
(alphabsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(alphabsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_alphabsd_nat): New function.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o, fbsd-nat.o and gcore.o.
* config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
(NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
alphabsd-nat.o.
* config/alpha/nm-fbsd.h: Update copyright year.  Don't include
"config/nm-bsd.h" and "elf/common.h".
* config/alpha/nm-nbsd.h: Update copyright year.  Don't include
"config/nm-nbsd.h".
2005-03-05 14:36:10 +00:00
Andrew Cagney 3f32509245 2005-02-14 Andrew Cagney <cagney@gnu.org>
* config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
	* config/h8300/tm-h8300.h: Delete file.
2005-02-15 02:05:10 +00:00
Yoshinori Sato f0bdd87d9f Restore h8300 support 2005-02-12 10:38:52 +00:00
Andrew Cagney 59c58d0813 2005-02-09 Andrew Cagney <cagney@gnu.org>
* config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
	* config/powerpc/linux.mt (TDEPFILES): Ditto.
	* config/pa/linux.mt (TDEPFILES): Ditto.
	* config/mips/linux.mt (TDEPFILES): Ditto.
	* config/m68k/linux.mt (TDEPFILES): Ditto.
	* config/m32r/linux.mt (TDEPFILES): Ditto.
	* config/ia64/linux.mt (TDEPFILES): Ditto.
	* config/arm/linux.mt (TDEPFILES): Ditto.
2005-02-09 15:58:51 +00:00
Mark Kettenis a28109e0ab * i386obsd-tdep.c: Update copyright year. Include
"bsd-uthread.h".
(i386obsd_uthread_reg_offset): New variable.
(I386OBSD_UTHREAD_ESP_OFFSET): New define.
(i386obsd_supply_uthread, i386obsd_collect_uthread): New
functions.
(i386obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (i386obsd-tdep.o): Update dependencies.
* config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-23 19:35:05 +00:00
Mark Kettenis 1c02b2a55e * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
and "bsd-uthread.h".
(amd64fbsd_jmp_buf_reg_offset): New variable.
(amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
functions.
(amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
* i386fbsd-tdep.c: Fix typo.
* Makefile.in (amd64fbsd-tdep.o): Update dependencies.
* config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-16 21:53:35 +00:00
Mark Kettenis ca5807d9a5 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
(_initialize_sparc64fbsd_nat): Add some extra features to the
generic SPARC target.
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
* config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
(NAT_FILE): Set to solib.h.
* config/sparc/nm-fbsd.h: Remove file.
2005-01-16 20:29:11 +00:00
Mark Kettenis fa565c2b2d * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
"regcache.h", "gdb_assert.h" and "bsd-uthread.h".
(i386fbsd_jmp_buf_reg_offset): New variable.
(i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
functions.
(i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (i386fbsd-tdep.o): Update dependency.
* config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-12 21:54:13 +00:00
Mark Kettenis 8b1ca06271 * i386bsd-nat.c: Update copyright year. Don't include
<sys/param.h> and <sys/user.h>.
(register_u_addr, kernel_u_size): Remove functions.
* config/i386/obsd.mh (NAT_FILE): Remove.
* config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
* config/i386/nm-obsd.h: Remove file.
2005-01-12 20:36:59 +00:00
Mark Kettenis eafc7eea75 * config/i386/nm-fbsd.h: Update copyright year.
Don't include "config/nm-bsd.h".
(KERNEL_U_SIZE): Remove macro.
(kernel_u_size): Remove prototype.
2005-01-11 23:04:33 +00:00
Mark Kettenis ca14ead7e6 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
* config/vax/nm-nbsdaout.h: Remove file.
2005-01-11 22:24:40 +00:00
Mark Kettenis 2a2de4ce73 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
(vax_register_u_offset): Make statuc.
(_initialize_vax_nat): Construct and add target vector.
* config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
* Makefile.in (vax-nat.o): Update dependencies.
2005-01-10 20:56:17 +00:00
Mark Kettenis c534d64106 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
tm-ppc-eabi.h instead of the removed tm-nbsd.h.
2005-01-07 23:43:37 +00:00
Mark Kettenis 4b48ac2266 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
Don't include "tm-ia64.h".
* config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
* config/ia64/tm-ia64.h: Remove.  Move contents ...
* ia64-tdep.h: ... here.  Update copyright year.
2005-01-07 23:12:06 +00:00
Kevin Buettner 0ea390ed3c Eliminate ia64-aix-tdep.c. 2005-01-05 17:04:49 +00:00
Mark Kettenis 34cf199453 * configure.host (ia64-*-aix*): Remove.
* configure.tgt (ia64-*-aix*): Remove.
* config/ia64/aix.mh: Remove file.
* config/ia64/aix.mt: Remove file.
* config/ia64/tm-aix.h: Remove file.
* ia64-aix-nat.c: Remove file.
* Makefile.in (ia64-aix-nat.o): Remove dependency.
2005-01-04 22:59:45 +00:00
Mark Kettenis a260932f9d * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
Add back inf-ptrace.o.
2005-01-04 20:41:24 +00:00
Mark Kettenis e0eee039ce * config/mips/obsd64.mh (NATDEPFILES): Unwrap line. 2004-12-27 15:08:13 +00:00
Mark Kettenis 87285d5bcb * hppah-nat.c: Remove file.
* infttrace.h: Remove file.
* infttrace.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
(infttrace_h): Remove variable.
(hppah-nat.o, infttrace.o): Remove dependencies.
* configure.host (hppa*64*-*-hpux11*): Remove.
* config/pa/hpux11w.mh: Remove file.
* config/pa/nm-hppah.h: Remove file.
* config/pa/nm-hppah11.h: Remove file.
2004-12-18 17:36:33 +00:00