diff options
-rw-r--r-- | gdb/ChangeLog | 51 | ||||
-rw-r--r-- | gdb/NEWS | 1 | ||||
-rw-r--r-- | gdb/configure.host | 3 | ||||
-rw-r--r-- | gdb/configure.tgt | 6 |
4 files changed, 38 insertions, 23 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f95428..31f9bd0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-01-20 Jiri Smid <smid@suse.cz> + + * configure.host, configure.tgt: Support x86-64. + * NEWS: Note new target x86-64. + 2002-01-19 Andrew Cagney <ac131313@redhat.com> * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. @@ -5,7 +10,7 @@ * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. * config/sparc/xm-sun4os4.h: Delete file. * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. - + 2002-01-19 Andrew Cagney <ac131313@redhat.com> * config/sparc/sparclynx.mh (XM_FILE): Delete. @@ -102,25 +107,25 @@ 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> - * alpha-tdep.c (frame_extra_info): New. - (alpha_find_saved_regs): Make static. Use + * alpha-tdep.c (frame_extra_info): New. + (alpha_find_saved_regs): Make static. Use frame->extra_info. (alpha_frame_init_saved_regs): New function. - (alpha_frame_saved_pc): Use frame->extra_info. - (temp_saved_regs): Don't declare as struct frame_saved_regs. - (heuristic_proc_desc): Adjust for temp_saved_regs changes. + (alpha_frame_saved_pc): Use frame->extra_info. + (temp_saved_regs): Don't declare as struct frame_saved_regs. + (heuristic_proc_desc): Adjust for temp_saved_regs changes. (init_extra_frame_info): Rename to... (alpha_init_extra_frame_info): ...this. Use frame->extra_info. - (alpha_print_extra_frame_info): New function. + (alpha_print_extra_frame_info): New function. (alpha_frame_locals_address): Ditto. (alpha_frame_args_address): Ditto. - (alpha_pop_frame): Use frame->extra_info. + (alpha_pop_frame): Use frame->extra_info. * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use alpha_frame_args_address. - (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. + (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. (alpha_find_saved_regs): Remove prototype. - (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. - (EXTRA_FRAME_INFO): Remove. + (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. + (EXTRA_FRAME_INFO): Remove. (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. @@ -157,7 +162,7 @@ 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> - * alpha-tdep.c (alpha_register_name): New function. + * alpha-tdep.c (alpha_register_name): New function. * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. (REGISTER_NAME): Define. @@ -343,7 +348,7 @@ 2002-01-15 Elena Zannoni <ezannoni@redhat.com> - [Based on work by Jim Blandy] + [Based on work by Jim Blandy] * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. (builtin_type_vec128): Export. * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD @@ -354,7 +359,7 @@ builtin_type_v8hi. Create the vec128 register builtin type structure. (build_builtin_type_vec128): New function. - (_initialize_gdbtypes): Register builtin_type_v16qi and + (_initialize_gdbtypes): Register builtin_type_v16qi and builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. * rs6000-tdep.c (rs6000_register_virtual_type): Change type of AltiVec register to new builtin type. @@ -387,7 +392,7 @@ * signals.c (target_signal_to_name): Rewrite. Only use signals[].name when in bounds and non-NULL. - + 2002-01-13 Andrew Cagney <ac131313@redhat.com> From Petr Ledvina <ledvinap@kae.zcu.cz>: @@ -621,8 +626,8 @@ 2002-01-07 Michael Snyder <msnyder@redhat.com> - * linux-proc.c: New file. Implement child_pid_to_exec_file, - so that attaching to a pid will automatically read the process's + * linux-proc.c: New file. Implement child_pid_to_exec_file, + so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. @@ -645,7 +650,7 @@ * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT instead of bfd_get_arch_size. Don't bail out just because there's no exec_bfd. - + * cp-valprint.c (cp_print_value): FIXME comment, alloca size. * p-valprint.c (pascal_object_print_value): Ditto. * somread.c (som_symtab_read): Ditto. @@ -659,7 +664,7 @@ * infptrace.c (GDB_MAX_ALLOCA): New define. (child_xfer_memory): Use xmalloc/xfree instead of alloca if the - size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, + size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, can be overridden with whatever value is appropriate to the host). * infttrace.c (child_xfer_memory): Add FIXME warning about use of alloca to allocate potentially large buffer. @@ -674,12 +679,12 @@ 2002-01-07 Michael Snyder <msnyder@redhat.com> - * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): + * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't use exec_bfd if it's NULL. 2002-01-06 Mark Kettenis <kettenis@gnu.org> - * valops.c (value_arg_coerce): Fix formatting. + * valops.c (value_arg_coerce): Fix formatting. 2002-01-06 Andrew Cagney <ac131313@redhat.com> @@ -871,10 +876,10 @@ * scm-lang.c (scm_lookup_name): Ditto. 2002-01-03 Michael Snyder <msnyder@redhat.com> - + Abstract the functionality of iterating over mapped memory regions into a general purpose iterator function. - * procfs.c (iterate_over_mappings): New function, general purpose + * procfs.c (iterate_over_mappings): New function, general purpose iterator for memory sections. (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. (solib_mappings_callback): New function, callback for above. @@ -23,6 +23,7 @@ is found, will then attempt to open it as a corefile. * New native configurations x86 OpenBSD i[3456]86-*-openbsd* +AMD x86-64 running Linux x86_64-*-linux-* * New targets diff --git a/gdb/configure.host b/gdb/configure.host index 29aae5d..7b50e6a 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -20,6 +20,7 @@ mips*) gdb_host_cpu=mips ;; powerpc*) gdb_host_cpu=powerpc ;; sparc64) gdb_host_cpu=sparc ;; s390*) gdb_host_cpu=s390 ;; +x86_64*) gdb_host_cpu=i386 ;; *) gdb_host_cpu=$host_cpu ;; esac @@ -153,4 +154,6 @@ vax-*-bsd*) gdb_host=vaxbsd ;; vax-*-ultrix2*) gdb_host=vaxult2 ;; vax-*-ultrix*) gdb_host=vaxult ;; +x86_64-*-linux*) gdb_host=x86-64linux ;; + esac diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 35c9574..ad54483 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -27,6 +27,7 @@ s390*) gdb_target_cpu=s390 ;; strongarm*) gdb_target_cpu=arm ;; xscale*) gdb_target_cpu=arm ;; v850*) gdb_target_cpu=v850 ;; +x86_64*) gdb_target_cpu=i386 ;; *) gdb_target_cpu=$target_cpu ;; esac @@ -294,6 +295,10 @@ v850*-*-*) gdb_target=v850 esac ;; +x86_64-*-linux*) gdb_target=x86-64linux + configdirs="${configdirs} gdbserver" ;; + + z8k-*-coff*) gdb_target=z8k ;; esac @@ -305,5 +310,6 @@ case "${gdb_target}" in d10v) gdb_multi_arch=yes ;; m68hc11) gdb_multi_arch=yes ;; mn10300) gdb_multi_arch=yes ;; +x86-64linux) gdb_multi_arch=yes ;; xstormy16) gdb_multi_arch=yes ;; esac |