OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago * jit.c (jit_event_handler): Use paddress to print target addresses.
Doug Evans [Fri, 21 Aug 2009 19:07:00 +0000 (19:07 +0000)]
* jit.c (jit_event_handler): Use paddress to print target addresses.
Wrap printf string in _().

15 years ago * jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
Doug Evans [Fri, 21 Aug 2009 18:54:44 +0000 (18:54 +0000)]
* jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
(jit_read_code_entry, jit_register_code): Ditto.
(jit_event_handler): Ditto.
(jit_inferior_init): Renamed from previous jit_inferior_created_hook.
(jit_inferior_created_hook, jit_breakpoint_re_set): New functions.
(jit_inferior_created_observer): Renamed from
jit_inferior_created_hook1, all callers updated.
* jit.h (jit_breakpoint_re_set): Declare.
(jit_event_handler): Update prototype.
* breakpoint.c (breakpoint_re_set): Call jit_breakpoint_re_set instead
of jit_inferior_created_hook.

15 years ago2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Fri, 21 Aug 2009 17:57:17 +0000 (17:57 +0000)]
2009-08-21  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.

15 years ago2009-08-21 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 21 Aug 2009 06:16:49 +0000 (06:16 +0000)]
2009-08-21  Hui Zhu  <teawater@gmail.com>

* record.c (record_wait): Change the argument of
record_beneath_to_wait to options.

15 years agodaily update
Alan Modra [Fri, 21 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 21 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.
Doug Evans [Thu, 20 Aug 2009 23:30:15 +0000 (23:30 +0000)]
* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.

15 years ago Replace dcache with splay tree.
Doug Evans [Thu, 20 Aug 2009 22:30:11 +0000 (22:30 +0000)]
Replace dcache with splay tree.
Remove partially implemented writeback support.
* dcache.c: Include splay-tree.h.
(LINE_SIZE_POWER): Change from 5 to 6.
(DCACHE_SIZE): Change from 64 to 4096.
(ENTRY_INVALID, ENTRY_VALID, ENTRY_DIRTY): Delete.
(state_chars): Delete.
(struct dcache_block): Clean up; remove state and anydirty fields.
(struct dcache_struct): Redefine as a splay tree and linked list.
(last_cache): Make static.
(dcache_invalidate, dcache_hit): Rewrite for new cache structure.
(dcache_read_line, dcache_alloc): Rewrite for new cache structure.
(dcache_write_line): Delete.
(dcache_writeback): Delete.
(dcache_peek_byte): Clean up; remove "invalid" state check.
(dcache_poke_byte): Rewrite for new cache structure; clarify comment.
(dcache_splay_tree_compare): New function.
(dcache_init, dcache_free): Rewrite for new cache structure.
(dcache_xfer_memory): Rewrite for new write-through cache structure.
(dcache_print_line): New function.
(dcache_info): Rewrite for new cache structure.
(_initialize_dcache): Update "info dcache" help text.
* dcache.h (dcache_xfer_memory): Update declaration.
* target.c (memory_xfer_partial): Update calls to dcache_xfer_memory.

15 years agohppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Nick Hudson [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.

15 years ago Add interface for JIT code generation.
Doug Evans [Thu, 20 Aug 2009 18:02:45 +0000 (18:02 +0000)]
Add interface for JIT code generation.
* NEWS: Announce JIT interface.
* Makefile.in (SFILES): Add jit.c.
(HFILES_NO_SRCDIR): Add jit.h.
(COMMON_OBS): Add jit.o.
* jit.c: New file.
* jit.h: New file.
* breakpoint.h (enum bptype): Add bp_jit_event to enum.
* breakpoint.c:
(update_breakpoints_after_exec): Delete jit breakpoints after exec.
(bpstat_what): Update event table for bp_jit_event.
(print_it_typical): Added case for bp_jit_event.
(print_one_breakpoint_location): Added case for bp_jit_event.
(allocate_bp_location): Added case for bp_jit_event.
(mention): Added case for bp_jit_event.
(delete_command): Added case for bp_jit_event.
(breakpoint_re_set_one): Added case for bp_jit_event.
(breakpoint_re_set): Added call to jit_inferior_created_hook.
(create_jit_event_breakpoint): New.
* infrun.c (handle_inferior_event): Add handler for jit event.
(follow_exec): Add call to jit_inferior_created_hook.
* doc/gdb.texinfo: Add chapter on JIT interface.

15 years agodaily update
Alan Modra [Thu, 20 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 20 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agoDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues [Wed, 19 Aug 2009 22:21:10 +0000 (22:21 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.

/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.

config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.

15 years ago Fix toplevel target deps.
Ralf Wildenhues [Wed, 19 Aug 2009 21:59:11 +0000 (21:59 +0000)]
Fix toplevel target deps.

/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.

15 years agoSync toplevel with GCC, merge.
Ralf Wildenhues [Wed, 19 Aug 2009 19:49:25 +0000 (19:49 +0000)]
Sync toplevel with GCC, merge.

/:
2009-07-31  Christian Bruel  <christian.bruel@st.com>

* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.

2009-07-06  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
* configure: Rebuild.

2009-06-26  Steve Ellcey  <sje@cup.hp.com>

PR bootstrap/40338
* configure.ac (comparestring): Create new variable.
* Makefile.tpl (comparestring): Use to skip some comparisions.
* configure: Regenerate.
* Makefile.in: Regenerate.

2009-06-23  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
boot_languages.  Only bootstrap target libraries listed in
target_libs for some boot language.  Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.

2009-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Detect MPC in default directory.
* configure: Regenerate.

2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>

* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
to noconfdirs.
* configure: Regenerate.

2009-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* Makefile.def: Add MPC support and dependencies.
* configure.ac: Likewise.  Reorganize GMP/MPFR checks.

* Makefile.in, configure: Regenerate.

2009-05-24  Nicolas Roche  <roche@adacore.com>

* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.

2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac (cygwin noconfigdirs):  Remove libgcj.
* configure:  Regenerate.

2009-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac ($with_ppl):  Default to no if not supplied.
($with_cloog):  Likewise.
configure:  Regenerate.

2009-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

* configure, Makefile.in: Regenerate.

2009-04-14  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.

15 years agoChangeLog:
Ulrich Weigand [Wed, 19 Aug 2009 13:00:25 +0000 (13:00 +0000)]
ChangeLog:

* value.c (enum internalvar_kind): Replace INTERNALVAR_SCALAR by
INTERNALVAR_INTEGER and INTERNALVAR_POINTER.
(union internalvar_data): Replace "scalar" member by "integer"
and "pointer".
(value_of_internalvar): Handle INTERNALVAR_INTEGER and
INTERNALVAR_POINTER instead of INTERNALVAR_SCALAR.
(get_internalvar_integer): Likewise.
(set_internalvar): Likewise.
(set_internalvar_integer): Likewise.
(preserve_one_internalvar): Likewise.
(value_from_pointer): Handle typedef'd pointer types.

testsuite/ChangeLog:

2009-08-19  Doug Evans  <dje@google.com>

* gdb.base/gdbvars.c: New file.
* gdb.base/gdbvars.exp: Test convenience vars with program variables.

15 years ago* MAINTAINERS: Perform some obvious fixups.
Christopher Faylor [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.

15 years ago*** empty log message ***
gdbadmin [Wed, 19 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 19 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * utils.c (add_internal_problem_command): Free set_doc and
Tom Tromey [Tue, 18 Aug 2009 16:17:11 +0000 (16:17 +0000)]
* utils.c (add_internal_problem_command): Free set_doc and
show_doc.
* remote.c (add_packet_config_cmd): Free set_doc and show_doc.
* language.c (add_language): Free language_set_doc.

15 years ago * Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.
Tom Tromey [Tue, 18 Aug 2009 15:22:12 +0000 (15:22 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.

15 years ago*** empty log message ***
gdbadmin [Tue, 18 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 18 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * symfile.c (reread_symbols): Call objfiles_changed *before*
Ulrich Weigand [Mon, 17 Aug 2009 20:09:37 +0000 (20:09 +0000)]
* symfile.c (reread_symbols): Call objfiles_changed *before*
calling clear_symtab_users.

15 years ago2009-08-17 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)]
2009-08-17  Michael Snyder  <msnyder@vmware.com>

* amd64-tdep.c: Add a frame unwinder for function epilogues.
(amd64_in_function_epilogue_p): New function.
(amd64_epilogue_frame_sniffer): New function.
(amd64_epilogue_frame_cache): New function.
(amd64_epilogue_frame_this_id): New function.
(amd64_epilogue_frame_unwind): New struct frame_unwind.
(amd64_init_abi): Hook the new unwinder.

* amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use
SVR4 method for skip_trampoline_code.

15 years ago2009-08-17 Pedro Alves <pedro@codesourcery.com>>
Pedro Alves [Mon, 17 Aug 2009 11:16:11 +0000 (11:16 +0000)]
2009-08-17  Pedro Alves  <pedro@codesourcery.com>>

* objfiles.c (objfile_relocate): Relocate the entry point before
relocating the section offsets.  Flush the section map before
resetting breakpoints.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 17 Aug 2009 04:10:29 +0000 (04:10 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years agodaily update
Alan Modra [Mon, 17 Aug 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 17 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
Doug Evans [Sun, 16 Aug 2009 17:32:21 +0000 (17:32 +0000)]
* opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
at least don't leak memory.

15 years agoSync config/ from GCC:
Ralf Wildenhues [Sun, 16 Aug 2009 12:49:48 +0000 (12:49 +0000)]
Sync config/ from GCC:

--- config/ChangeLog
+++ config/ChangeLog
@@ -19,6 +19,10 @@
  * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
  cross-compiling.

+2009-06-25  Olivier Hainque  <hainque@adacore.com>
+
+ * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc.
+
 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>

  * plugins.m4: New.
@@ -39,6 +43,27 @@
  "# no Tcl configs found".
  (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

+2009-04-09  Jakub Jelinek  <jakub@redhat.com>
+
+ * lead-dot.m4: Change copyright header to refer to version
+ 3 of the GNU General Public License and to point readers at the
+ COPYING3 file and the FSF's license web page.
+ * warnings.m4: Likewise.
+
+2009-02-11  Kai Tietz  <kai.tietz@onevision.com>
+
+ * mh-cygwin (LDFLAGS): Add linker option to increase stack limit
+ up to 8MB.
+
+2009-01-23  Jie Zhang  <jie.zhang@analog.com>
+
+ * tls.m4 (GCC_CHECK_EMUTLS): Define.
+
+2008-12-21  Andrew Pinski  <pinskia@gmail.com>
+
+ PR target/38300
+ * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.
+
 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

  Fix PR/25502

15 years agoSync include/ChangeLog-9103 from GCC to fix invalid UTF-8.
Ralf Wildenhues [Sun, 16 Aug 2009 12:06:21 +0000 (12:06 +0000)]
Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.

15 years agodaily update
Alan Modra [Sun, 16 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 16 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
gdbadmin [Sat, 15 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 15 Aug 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * symfile.c (find_separate_debug_file): Remove double free of
Doug Evans [Fri, 14 Aug 2009 23:35:32 +0000 (23:35 +0000)]
* symfile.c (find_separate_debug_file): Remove double free of
canon_name.

15 years ago2009-08-14 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Fri, 14 Aug 2009 14:28:12 +0000 (14:28 +0000)]
2009-08-14  Pedro Alves  <pedro@codesourcery.com>

gdb/
* top.c (any_thread_of): Delete.
(kill_or_detach): Use any_thread_of_process.
* top.c (print_inferior_quit_action): New.
(quit_confirm): Rewrite to print info about all inferiors.
* target.c (dispose_inferior): New.
(target_preopen): Use it.

2009-08-14  Pedro Alves  <pedro@codesourcery.com>

gdb/testsuite/
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Adjust to "quit" output changes.

15 years ago* configure.in: Check for sys/select.h, termios.h, sys/socket.h,
DJ Delorie [Fri, 14 Aug 2009 04:24:30 +0000 (04:24 +0000)]
* configure.in: Check for sys/select.h, termios.h, sys/socket.h,
netinet/in.h, and netinet/tcp.h.
* configure: Regenerate.
* config.in: Add those headers.
* main.c: Check for them.
(setup_tcp_console): Disable if no networking.
(main): Note missing networking or termios.
* mem.c: Check for those headers.
(stdin_ready): Disable if no termios.
(m32c_sim_restore_console): Disable if no termios.
(mem_get_byte): Disable console input if no termios.

15 years ago* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
DJ Delorie [Fri, 14 Aug 2009 03:44:21 +0000 (03:44 +0000)]
* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
if needed.

15 years ago * ui-file.h (ui_file_xstrdup): Mention that the length argument
Pedro Alves [Fri, 14 Aug 2009 00:32:31 +0000 (00:32 +0000)]
* ui-file.h (ui_file_xstrdup): Mention that the length argument
may be NULL.
* ui-file.c (ui_file_xstrdup): Don't dereference LENGTH if it is
NULL.
* aix-thread.c (aix_thread_extra_thread_info): Pass NULL as length
parameter to ui_file_xstrdup.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* infrun.c (print_target_wait_results): Ditto.
* language.c (add_language): Ditto.
* linespec.c (cplusplus_error): Ditto.
* remote.c (escape_buffer): Ditto.
* typeprint.c (type_to_string): Ditto.
* utils.c (error_stream): Ditto.
* varobj.c (value_get_print_value): Ditto.
* xtensa-tdep.c (xtensa_verify_config): Replace `dummy' local with
`length' local.  Pass it to ui_file_xstrdup, and avoid an strlen
call.
* gdbarch.sh (verify_gdbarch): Ditto.
* gdbarch.c: Regenerate.
* cli/cli-setshow.c (do_setshow_command): Pass NULL as length
parameter to ui_file_xstrdup.
* python/python-frame.c (frapy_str): Ditto.
* python/python-type.c (typy_str): Use the length local instead of
calling strlen.
* python/python-value.c (valpy_str): Pass NULL as length parameter
to ui_file_xstrdup.

15 years agodaily update
Alan Modra [Fri, 14 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 14 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * utils.c (gnu_debuglink_crc32): Store crc32_table as unsigned int
Doug Evans [Thu, 13 Aug 2009 22:35:29 +0000 (22:35 +0000)]
* utils.c (gnu_debuglink_crc32): Store crc32_table as unsigned int
instead of unsigned long.

15 years ago * varobj.c (update_dynamic_varobj_children): Don't use
Tom Tromey [Thu, 13 Aug 2009 18:39:19 +0000 (18:39 +0000)]
* varobj.c (update_dynamic_varobj_children): Don't use
value_copy.
* value.h: (preserve_one_value): Declare.
(value_prepend_to_list, value_remove_from_list): Remove.
* value.c (preserve_one_value): No longer static.
(preserve_values): Call preserve_python_values.
(value_prepend_to_list): Remove.
(value_remove_from_list): Remove.
* python/python.h (values_in_python): Don't declare.
(preserve_python_values): Declare.
* python/python-value.c (values_in_python): Change type.  Move
lower.  Now static.
(struct value_object): Add struct tag.
<next, prev>: New fields.
(valpy_dealloc): Update.
(note_value): New function.
(valpy_new): Use value_incref, note_value.
(preserve_python_values): New function.
(valpy_positive): Don't use value_copy.
(value_to_value_object): Use value_incref, note_value.
(convert_value_from_python): Update comment.

15 years ago * remote.c (remote_pid_to_str): If printing a process id and we
Pedro Alves [Thu, 13 Aug 2009 18:27:56 +0000 (18:27 +0000)]
* remote.c (remote_pid_to_str): If printing a process id and we
don't know what the remote pid could be, output "Remote target";
otherwise, use normal_pid_to_str.

15 years ago * language.h (longest_raw_hex_string): Remove unused declaration.
Tom Tromey [Thu, 13 Aug 2009 17:06:20 +0000 (17:06 +0000)]
* language.h (longest_raw_hex_string): Remove unused declaration.

15 years agomerge from gcc
DJ Delorie [Thu, 13 Aug 2009 17:03:55 +0000 (17:03 +0000)]
merge from gcc

15 years ago2009-08-13 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Thu, 13 Aug 2009 14:58:25 +0000 (14:58 +0000)]
2009-08-13  Pedro Alves  <pedro@codesourcery.com>

PR gdb/8869:

* language.c (language, type, range, case_sensitive): Make const.
(show_language_command): Don't call deprecated_show_value_hack.
Special case "auto".
(set_language_command): An unrecognized language is now an
internal error instead of a user error.  Don't call set_lang_str.
(show_type_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_type_command): An unrecognized type is now an internal error
instead of a user error.  Output type check mismatch with language
here.  Don't call set_type_str.
(show_range_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_range_command): An unrecognized range check is now an
internal error instead of a warning.  Output range check mismatch
with language here.  Don't call set_range_str.
(show_case_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_case_command): Don't call set_case_str.  An unrecognized case
check is now an internal error instead of a warning.  Output range
check mismatch with language here.  Don't call set_case_str.
(set_type_range_case): Don't call set_type_str, set_range_str or
set_case_str here.
(set_lang_str, set_type_str, set_range_str, set_case_str): Delete.
(add_language): Install or reinstall the "set language" command
here, and make it an enum command.  Build the enumeration and the
help string from the current list of known languages.
(_initialize_language): Don't install "set language" here.  Make
"set check type", "set check range" and "set case-sensitive" enum
commands.  Register the "auto" "local" and "unknown" languages in
that order.

2009-08-13  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/default.exp: Adjust "set language test": it's now an
enum command.  Larger help string moved to "help set language".
* gdb.base/help.exp: Adjust "help set language" expected output,
now lists all known languages.

15 years ago Revert 2009-08-07 changes for PR gdb/8869:
Pedro Alves [Thu, 13 Aug 2009 14:56:18 +0000 (14:56 +0000)]
Revert 2009-08-07 changes for PR gdb/8869:

* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.

* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.

15 years ago*** empty log message ***
gdbadmin [Thu, 13 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 13 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-08-12 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 12 Aug 2009 23:00:21 +0000 (23:00 +0000)]
2009-08-12  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_add_inferior): Remove unused local.
(remote_add_thread): Ditto.
(read_ptid): Ditto.
(remote_current_thread): Ditto.
(remote_stop_ns): Ditto.
(remote_parse_stop_reply): Ditto.
(remote_get_pending_stop_replies): Ditto.
(remote_wait_ns): Ditto.
(remote_wait_as): Ditto.
(send_g_packet): Ditto.
(remote_fetch_registers): Ditto.
(store_register_using_P): Ditto.
(remote_store_registers): Ditto.
(remote_remove_breakpoint): Ditto.
(remote_write_qxfer): Ditto.
(remote_read_qxfer): Ditto.

15 years ago * po/fi.po: Updated Finnish translation.
Nick Clifton [Wed, 12 Aug 2009 16:13:17 +0000 (16:13 +0000)]
    * po/fi.po: Updated Finnish translation.

15 years ago*** empty log message ***
gdbadmin [Wed, 12 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 12 Aug 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Make a cleanup.
Tom Tromey [Tue, 11 Aug 2009 20:36:48 +0000 (20:36 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Make a cleanup.
(dwarf2_loc_desc_needs_frame): Likewise.
* dwarf2expr.h (make_cleanup_free_dwarf_expr_context): Declare.
* dwarf2expr.c (free_dwarf_expr_context_cleanup): New function.
(make_cleanup_free_dwarf_expr_context): Likewise.
* dwarf2-frame.c (execute_stack_op): Make a cleanup.

15 years ago * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
Nathan Froyd [Tue, 11 Aug 2009 19:21:35 +0000 (19:21 +0000)]
* gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
all frame arguments.
* gdb.arch/altivec-regs.exp: Likewise.

15 years ago Merge some FRV FDPIC changes into the Blackfin code.
Bernd Schmidt [Tue, 11 Aug 2009 11:41:16 +0000 (11:41 +0000)]
Merge some FRV FDPIC changes into the Blackfin code.
* elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to
summary reloc information.
(bfinfdpic_dynamic_got_plt_info): New.
(_bfin_create_got_section): Create the PLT section here.
(elf32_bfinfdpic_create_dynamic_sections): Not here.
(_bfinfdpic_count_nontls_entries): Move out of...
(_bfinfdpic_count_got_plt_entries): ... here.
(_bfinfdpic_count_relocs_fixups): Likewise.
(_bfinfdpic_reset_got_plt_entries): New.
(_bfinfdpic_size_got_plt): Move out of...
(elf32_bfinfdpic_size_dynamic_sections): ... here.
(bfinfdpic_relocate_section): Be careful not to call
_bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs.
(bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info):
New functions.
(elf_backend_discard_info): Define for FD-PIC.

15 years ago * elflink.c: Add FIXMEs for some places that require octets_per_byte
Alan Modra [Tue, 11 Aug 2009 02:21:34 +0000 (02:21 +0000)]
* elflink.c: Add FIXMEs for some places that require octets_per_byte
adjustments.
* elf-eh-frame.c: Likewise.
* merge.c: Likewise.

15 years ago * configure.in: Remove elf-ifunc.lo from common ELF files. Add
Alan Modra [Tue, 11 Aug 2009 02:14:14 +0000 (02:14 +0000)]
* configure.in:  Remove elf-ifunc.lo from common ELF files.  Add
to x86 and x86_64 configurations.
* configure: Regenerate.

15 years agodaily update
Alan Modra [Tue, 11 Aug 2009 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 11 Aug 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

15 years agogdb/
Jan Kratochvil [Mon, 10 Aug 2009 22:09:22 +0000 (22:09 +0000)]
gdb/
* objfiles.c (gdb_bfd_unref): Use the bfd_usrdata accessor.
* solib.c (symbol_add_stub): Likewise.
* symfile.c (symfile_bfd_open): Assert BFD_USRDATA is NULL.

15 years agoinclude/coff/
Jan Kratochvil [Mon, 10 Aug 2009 22:02:41 +0000 (22:02 +0000)]
include/coff/
Fix references past allocated memory for i386-*-go32.
* ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
Reference F_TARGET_ID only when !COFF0_P.

15 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:56:42 +0000 (21:56 +0000)]
bfd/
Stop using bfd_usrdata in libbfd.
* coff-stgo32.c (bfd_coff_go32stub): Remove.
(stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE.
(adjust_filehdr_in_post): Declare the abfd parameter as unused.
Replace STUBSIZE by GO32_STUBSIZE.  Save now the stub in
filehdr_dst->u.go32.stub.  New comment with the reason.
(adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE.
Substitute the removed macro bfd_coff_go32stub.
(adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre)
(adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre)
(adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE.
(create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data):
Replace STUBSIZE by GO32_STUBSIZE.  Substitute the removed macro
bfd_coff_go32stub.
* coffcode.h (coff_mkobject_hook): Initialize coff->go32stub.
* libcoff-in.h (coff_data_type): New field go32stub.
* libcoff.h: Regenerated.

include/coff/
Stop using bfd_usrdata in libbfd.
* go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
STUBSIZE by GO32_STUBSIZE.
(STUBSIZE): Move the definition ...
* internal.h (GO32_STUBSIZE): ... here and rename it.
(struct internal_filehdr <go32stub>, F_GO32STUB): New.

15 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:38:35 +0000 (21:38 +0000)]
bfd/
Fix go32 stub preservation by objcopy.
* coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc.
(go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD
go32stub.

ld/testsuite/
Test go32 stub preservation by objcopy.
* ld-i386/i386.exp (go32 stub, go32 stub patch the source)
(go32 stub objcopy, go32 stub comparison after objcopy): New.

15 years ago2009-08-10 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Mon, 10 Aug 2009 20:14:13 +0000 (20:14 +0000)]
2009-08-10  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.c (qsort_cmp): Remove assert.
(preferred_obj_section): New function.
(update_section_map): Filter duplicates.

15 years ago * elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local
Nathan Sidwell [Mon, 10 Aug 2009 15:56:29 +0000 (15:56 +0000)]
* elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local
symbols.
(elf32_arm_final_link_relocate): Treat local undefined symbols the
same as global undefined symbols.
(elf32_arm_relocate_section): Give an error for local undefined
non-weak symbols, unless the reloc will not use the symbol.

15 years ago * readelf.c (get_arm_section_type_name): Added support for
Nick Clifton [Mon, 10 Aug 2009 14:56:34 +0000 (14:56 +0000)]
* readelf.c (get_arm_section_type_name): Added support for
    new sections headers.

    * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
    (SHT_ARM_OVERLAYSECTION): New define.

15 years ago bfd/
Nathan Sidwell [Mon, 10 Aug 2009 13:38:43 +0000 (13:38 +0000)]
bfd/
* elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11.
(ppc_elf_relax_section): Use symbol index to distinguish
relocatable stubs.

ld/testsuite/
* ld-powerpc/relax.s: New.
* ld-powerpc/relax.d: New.
* ld-powerpc/relaxr.d: New.
* ld-powerpc/powerpc.exp: Add new tests.

15 years ago2009-08-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 10 Aug 2009 09:35:24 +0000 (09:35 +0000)]
2009-08-10  Tristan Gingold  <gingold@adacore.com>

* solib-darwin.c (find_program_interpreter): Simplify the code by
looking up for the load_dylinker command instead of reading the
corresponding (but deprecated) section.
(darwin_solib_create_inferior_hook): Adjust: do not free the
interpreter path.

15 years ago2009-08-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 10 Aug 2009 09:32:54 +0000 (09:32 +0000)]
2009-08-10  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-tdep.c (i386_m128_p): New function.
(i386_darwin_arg_type_alignment): Ditto.
(i386_darwin_push_dummy_call): Ditto.
(i386_darwin_init_abi): Define Darwin specific push_dummy_call.
Adjust long_double size.  Adjust pc offset in setjump buffer.

15 years ago * elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections.
Alan Modra [Mon, 10 Aug 2009 07:24:31 +0000 (07:24 +0000)]
* elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections.

15 years ago * elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
Alan Modra [Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)]
* elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
info for STT_GNU_IFUNC.
* elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry
on got refs in case the symbol turns out to be ifunc.
(ppc_elf_gc_sweep_hook): Similarly.
(ppc_elf_adjust_dynamic_symbol): Adjust assertion.
(allocate_dynrelocs): Don't specially allocate got relocs for ifunc.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relocate_section): Likewise.

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:06:33 +0000 (03:06 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add Linux AMD64 process record support.

* amd64-linux-tdep.c (amd64_linux_record_tdep): New variable.
This struct has the argument for the function
"record_linux_system_call".
(amd64_linux_syscall_record): New function. Parse the
system call instruction and call function
"record_linux_system_call" to record execute log.
(i386_linux_init_abi): Initialize "amd64_linux_record_tdep".
Set "amd64_linux_syscall_record" to "i386_syscall_record".

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:04:44 +0000 (03:04 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add process record Linux system call 64 bits support.

        * linux-record.h (linux_record_tdep): Add size_pointer,
        size_size_t, size_iovec and arg6.  Change the values of
size_int, size_long and size_ulong to
gdbarch_int_bit (gdbarch) / TARGET_CHAR_BIT,
gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT,
gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT.
* i386-linux-tdep.c (i386_linux_init_abi): Ditto.
(i386_linux_intx80_sysenter_record): Add a check for system
call number.
        * linux-record.c (record_linux_system_call): Make this
        function support 64 bits.

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:02:37 +0000 (03:02 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add AMD64 process record instruction set support.

* i386-tdep.h (gdbarch_tdep): Add record_regmap for registers
because the AMD64's registers order in GDB is not same with
I386 instructions.
Add i386_syscall_record to be the syscall function handle
interface.
(record_i386_regnum): Number for record_regmap.
* i386-tdep.c (OT_QUAD): For 64 bits.
(i386_record_s): Add rex_x, rex_b, rip_offset and
popl_esp_hack for AMD64 instruction set. And regmap for
record_regmap.
(i386_record_lea_modrm_addr): Support AMD64 instruction set
64 bits lea.
(i386_record_lea_modrm): Ditto.
(i386_record_push): New function.  Record the execution log
of push.
(I386_RECORD_ARCH_LIST_ADD_REG): New macro to record the
register.
(i386_process_record): Support AMD64 instruction set.
* amd64-tdep.c (amd64_record_regmap): For record_regmap.
(amd64_init_abi): Set amd64_record_regmap to record_regmap.

15 years ago*** empty log message ***
gdbadmin [Mon, 10 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 10 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agobfd/
Bernd Schmidt [Sun, 9 Aug 2009 16:45:02 +0000 (16:45 +0000)]
bfd/
From Mike Frysinger <michael.frysinger@analog.com>
* elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook,
_bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section,
bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
Adjust to match the renamed reloc definitions.

gas/testsuite/
From Mike Frysinger <michael.frysinger@analog.com>
* gas/bfin/reloc.d: Adjust for the renamed relocations.

include/elf/
From Mike Frysinger <michael.frysinger@analog.com>
* bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
R_page, R_hwpage, R_addr, R_pltpc, R_got.

15 years agoAdd EM_resnnn, new EM_ entries, change EM_MICROBLAZE.
eager [Sun, 9 Aug 2009 13:42:26 +0000 (13:42 +0000)]
Add EM_resnnn, new EM_ entries, change EM_MICROBLAZE.

15 years ago*** empty log message ***
gdbadmin [Sun, 9 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 9 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * bfd-target.c (struct target_bfd_data): New.
Pedro Alves [Sat, 8 Aug 2009 16:32:37 +0000 (16:32 +0000)]
* bfd-target.c (struct target_bfd_data): New.
(target_bfd_xfer_partial): Adjust to get at the section table from
the new structure.
(target_bfd_get_section_table): Ditto.
(target_bfd_xclose): Ditto.  Get the bfd pointer from the
target_bfd_data structure, from the section table.
(target_bfd_reopen): Store a struct target_bfd_data in the
target_ops to_data field, instead of a target_section_table.

15 years ago2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
Hui Zhu [Sat, 8 Aug 2009 01:57:44 +0000 (01:57 +0000)]
2009-08-08  Aleksandar Ristovski  <aristovski@qnx.com>
            Hui Zhu  <teawater@gmail.com>

* record.c (record_store_registers): Remove unused variable.

15 years ago PR 10494
Alan Modra [Sat, 8 Aug 2009 01:43:28 +0000 (01:43 +0000)]
PR 10494
* elf.c (_bfd_elf_make_section_from_shdr): When setting up section
LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers.

15 years ago*** empty log message ***
gdbadmin [Sat, 8 Aug 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 8 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agogdb
Tom Tromey [Fri, 7 Aug 2009 23:28:12 +0000 (23:28 +0000)]
gdb
* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.
gdb/testsuite
* gdb.base/setshow.exp: Add tests for changes to set language, set
check range, and set check type.

15 years ago PR gdb/8869:
Tom Tromey [Fri, 7 Aug 2009 20:44:14 +0000 (20:44 +0000)]
PR gdb/8869:
* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.

15 years ago * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
Tom Tromey [Fri, 7 Aug 2009 17:10:43 +0000 (17:10 +0000)]
* elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
aliasing error.

15 years ago*** empty log message ***
gdbadmin [Fri, 7 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 7 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 6 Aug 2009 23:25:49 +0000 (23:25 +0000)]
2009-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

gold/10400
* dwarf2-frame.c (qsort_fde_cmp): Use stable sort.

15 years ago2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 6 Aug 2009 23:19:46 +0000 (23:19 +0000)]
2009-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

* dwarf2-frame.c (struct dwarf2_cie): Remove 'next'.
(struct dwarf2_cie_table): New.
(struct dwarf2_fde): Remove 'next'.
(struct dwarf2_fde_table): New.
(struct comp_unit): Remove 'cie'.
(bsearch_cie_cmp, bsearch_fde_cmp): New function.
(find_cie, dwarf2_frame_find_fde): Use bsearch.
(add_cie, add_fde): Use array instead of linked list.
(decode_frame_entry, decode_frame_entry_1): New parameters.
(qsort_fde_cmp): New function.
(dwarf2_build_frame_info): Adjust.

15 years ago(Server Prefix): Explain that server prefix suppresses
Nick Roberts [Thu, 6 Aug 2009 23:08:16 +0000 (23:08 +0000)]
(Server Prefix): Explain that server prefix suppresses
confirmation request.

15 years ago*** empty log message ***
Nick Roberts [Thu, 6 Aug 2009 23:06:54 +0000 (23:06 +0000)]
*** empty log message ***

15 years ago * configure.ac: Add Microblaze target.
Nick Clifton [Thu, 6 Aug 2009 17:46:43 +0000 (17:46 +0000)]
    * configure.ac: Add Microblaze target.
        * configure: Regenerate.

15 years ago Add support for Xilinx MicroBlaze processor.
Nick Clifton [Thu, 6 Aug 2009 17:37:59 +0000 (17:37 +0000)]
    Add support for Xilinx MicroBlaze processor.

        * bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
        * bfd/Makefile.in: Same.
        * bfd/archures.c: Add bfd_arch_microblaze.
        * bfd/bfd-in2.h: Regenerate.
        * bfd/config.bfd: Add microblaze target.
        * bfd/configure: Add bfd_elf32_microblaze_vec target.
        * bfd/configure.in: Same.
        * bfd/cpu-microblaze.c: New.
        * bfd/elf32-microblaze.c: New.
        * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
        * bfd/libbfd.h: Regenerate.
        * bfd/reloc.c: Add MICROBLAZE relocations.
        * bfd/section.c: Add struct relax_table and relax_count to section.
        * bfd/targets.c: Add bfd_elf32_microblaze_vec.
        * binutils/MAINTAINERS: Add self as maintainer.
        * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
        EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
        get_machine_name().
        * config.sub: Add microblaze target.
        * configure: Same.
        * configure.ac: Same.
        * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
        TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
        DEP_microblaze_elf target.
        * gas/Makefile.in: Same.
        * gas/config/tc-microblaze.c: Add MicroBlaze assembler.
        * gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
        * gas/configure: Add microblaze target.
        * gas/configure.in: Same.
        * gas/configure.tgt: Same.
        * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
        * gas/doc/Makefile.in: Same.
        * gas/doc/all.texi: Set MICROBLAZE.
        * gas/doc/as.texinfo: Add MicroBlaze doc links.
        * gas/doc/c-microblaze.texi: New MicroBlaze docs.
        * include/dis-asm.h: Decl print_insn_microblaze().
        * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
        * include/elf/microblaze.h: New reloc definitions.
        * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
        ALL_EMULATIONS, targets.
        * ld/Makefile.in: Same.
        * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
        * ld/emulparams/elf32mb_linux.sh: New.
        * ld/emulparams/elf32microblaze.sh. New.
        * ld/scripttempl/elfmicroblaze.sc: New.
        * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
        CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
        * opcodes/Makefile.in: Same.
        * opcodes/configure: Add bfd_microblaze_arch target.
        * opcodes/configure.in: Same.
        * opcodes/disassemble.c: Define ARCH_microblaze, return
        print_insn_microblaze().
        * opcodes/microblaze-dis.c: New MicroBlaze disassembler.
        * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
        * opcodes/microblaze-opcm.h: New MicroBlaze opcode types.