binutils-gdb.git
18 years ago * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
Bob Wilson [Tue, 25 Jul 2006 00:20:09 +0000 (00:20 +0000)]
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
in dep_sec_name for null terminator.  Make sure dep_sec_name has a
".t" linkonce tag.

18 years agodaily update
Alan Modra [Tue, 25 Jul 2006 00:00:04 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 25 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
Daniel Jacobowitz [Mon, 24 Jul 2006 22:04:13 +0000 (22:04 +0000)]
* solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
(gdb_int64_bytes): Likewise.
(fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
as first argument to extract_unsigned_integer to silence compiler
warnings.

18 years ago2006-07-24 Frederic Riss <frederic.riss@st.com>
Frederic Riss [Mon, 24 Jul 2006 21:37:04 +0000 (21:37 +0000)]
2006-07-24  Frederic Riss  <frederic.riss@st.com>

* dwarf2read.c (struct dwarf2_per_objfile): Add
has_section_at_zero
field.
(dwarf2_locate_sections): Initialize
dwarf2_per_objfile->has_section_at_zero.
(dwarf2_get_pc_bounds): Use
dwarf2_per_objfile->has_section_at_zero
instead of HAS_RELOC test.
(read_partial_die): Ditto.

18 years agogdb/
Daniel Jacobowitz [Mon, 24 Jul 2006 20:38:08 +0000 (20:38 +0000)]
gdb/
* corefile.c (reopen_exec_file): Only check for an open exec file.
Use exec_file_attach.
* exec.c (exec_open): Make static.
(exec_file_command): Don't use target_preopen.  Query directly about
changing the file.
* gdbcore.h (exec_open): Remove prototype.
gdb/testsuite/
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise.  Kill the program explicitly.

18 years ago2006-07-21 Frederic Riss <frederic.riss@st.com>
Frederic Riss [Mon, 24 Jul 2006 20:10:48 +0000 (20:10 +0000)]
2006-07-21  Frederic Riss  <frederic.riss@st.com>

* regcache.c (struct regcache): Make register_valid_p a signed
char
array.

18 years ago * linux-thread-db.c (thread_db_wait): Remove libthread_db
Daniel Jacobowitz [Mon, 24 Jul 2006 18:57:32 +0000 (18:57 +0000)]
* linux-thread-db.c (thread_db_wait): Remove libthread_db
after exec events.

18 years ago * NEWS: Mention Windows cross debugging support.
Daniel Jacobowitz [Mon, 24 Jul 2006 18:20:58 +0000 (18:20 +0000)]
* NEWS: Mention Windows cross debugging support.

18 years ago* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
Nick Clifton [Mon, 24 Jul 2006 18:18:19 +0000 (18:18 +0000)]
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
* elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific sections
  only if the SHF_OS_NONCONFORMING flag is present.

18 years agoPR ld/2729
Nick Clifton [Mon, 24 Jul 2006 16:51:26 +0000 (16:51 +0000)]
PR ld/2729
* peXXigen.c (_bfd_XXi_final_link_postscript): Check for the existance of
  output sections before putting their entries into the DataDictionary.

18 years agoPR/2756
Nick Clifton [Mon, 24 Jul 2006 16:30:55 +0000 (16:30 +0000)]
PR/2756
* read.c (read_a_source_file): Ignore unknown text after line comment
  character.  Fix misleading comment.

18 years ago * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
Nathan Sidwell [Mon, 24 Jul 2006 14:20:50 +0000 (14:20 +0000)]
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.

18 years agoFix spelling typos
Nick Clifton [Mon, 24 Jul 2006 13:49:50 +0000 (13:49 +0000)]
Fix spelling typos

18 years ago*** empty log message ***
gdbadmin [Mon, 24 Jul 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 24 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * linux-nat.c (linux_nat_add_target): Remove extern.
Daniel Jacobowitz [Sun, 23 Jul 2006 21:21:01 +0000 (21:21 +0000)]
* linux-nat.c (linux_nat_add_target): Remove extern.
* linux-nat.h (thread_db_init): New prototype.

18 years ago* ldlang.c (lang_section_bst): New structure for sorting sections by name.
Nick Clifton [Sun, 23 Jul 2006 15:32:08 +0000 (15:32 +0000)]
* ldlang.c (lang_section_bst): New structure for sorting sections by name.
  (wild_sort_fast): New function: Insert a section into a binary search tree.
  (output_section_callback_fast): New function: Store a section in BST.
  (output_section_callback_tree_to_list): New function: Convert a BST into a list.
  (analyze_walk_wild_section_handler): Initialize handler_data elements.
  (wild): If the data is sorted by name use the BST method to sort the names.

18 years agogdb/
Daniel Jacobowitz [Sun, 23 Jul 2006 03:52:15 +0000 (03:52 +0000)]
gdb/
* configure.tgt: Build gdbserver for Cygwin and mingw32.
gdb/gdbserver/
* configure.ac: Check for more headers which are missing on
Windows.  Automatically supply -lwsock32 and USE_WIN32API.
* configure.srv: Add Cygwin and mingw32.
* remote-utils.c: Don't include headers unconditionally which
are missing on mingw32.  Include <winsock.h> for mingw32.
(remote_open): Adjust for mingw32 support.  Flush
standard error after writing to it.
(remote_close, putpkt_binary, input_interrupt, block_async_io)
(unblock_async_io, enable_async_io, disable_async_io)
(readchar, getpkt): Update for Winsock support.
(prepare_resume_reply): Expect a protocol signal number.
* server.c: Disable <sys/wait.h> on mingw32.
(start_inferior): Adjust for mingw32 support.  Flush
standard error after writing to it.
(attach_inferior): Likewise.  Use protocol signal
numbers.
(main): Skip 'D' packet on mingw32.  Use protocol signal numbers
and names.
* win32-i386-low.c: New file.
* Makefile.in (XM_CLIBS): Set.
(gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS).
(win32-i386-low.o): New dependency rule.
* linux-low.c (linux_wait): Use target signal numbers.
* target.h (struct target_ops): Doc fix.
* server.h (target_signal_to_name): New prototype.
* gdbreplay.c: Don't include headers unconditionally which
are missing on mingw32.  Include <winsock.h> for mingw32.
(remote_close, remote_open): Adjust for Winsock support.
* configure, config.in: Regenerated.

18 years ago * configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
Daniel Jacobowitz [Sun, 23 Jul 2006 03:47:44 +0000 (03:47 +0000)]
* configure.in: Allow mingw32 and cygwin targets to build cross-gdb.
* configure: Regenerated.
gdb/
* config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
* config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
* config/i386/tm-cygwin.h: Delete file.

18 years agodaily update
Alan Modra [Sun, 23 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 23 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* infrun.c (handle_inferior_event): Typo.
Mark Kettenis [Sat, 22 Jul 2006 14:48:03 +0000 (14:48 +0000)]
* infrun.c (handle_inferior_event): Typo.

18 years agodaily update
Alan Modra [Sat, 22 Jul 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 22 Jul 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 21 Jul 2006 14:46:56 +0000 (14:46 +0000)]
2006-07-21  Andrew Stubbs  <andrew.stubbs@st.com>

* cli/cli-cmds.c (source_verbose, trace_commands): New variables.
(source_script): New function.
(source_verbose_cleanup): New function.
(source_command): Move old contents to source_script.
Make function static. Parse -v option and call source_script.
(init_cli_cmds): Update source command help.
Add 'set trace-commands' command.
* cli/cli-script.c (command_next_depth): New static variable.
(suppress_next_print_command_trace): New static variable.
(reset_command_nest_depth): New function.
(print_command_trace): New function.
(execute_control_command): Split the continue_control and break_control
cases, add calls to print_command_trace and count the nest depth.
(while_command): Set suppress_next_print_command_trace.
(if_command): Likewise.
* top.c (execute_command): Call print_command_trace.
* cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
(source_command): Change to source_script.
* main.c (captued_main): Use source_script instead of source_command.
* top.h (source_command): Change to source_script.
* event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
* cli/cli-script.h (print_command_trace): Export.
(reset_command_nest_depth): Likewise.

docs/
* gdb.texinfo (Optional warnings and messages): Add
'set/show trace-commands'.
(Command files): Add '-v' to source command.

testsuite/
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.

18 years ago* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
Nick Clifton [Fri, 21 Jul 2006 09:56:40 +0000 (09:56 +0000)]
* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilib
   being tested.

18 years ago* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.
Nick Clifton [Fri, 21 Jul 2006 09:46:15 +0000 (09:46 +0000)]
* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.

18 years ago*** empty log message ***
gdbadmin [Fri, 21 Jul 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 21 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agoUpdate amd family 10 instructions to add appropriate alignment for cygwin
Michael Meissner [Thu, 20 Jul 2006 23:09:32 +0000 (23:09 +0000)]
Update amd family 10 instructions to add appropriate alignment for cygwin

18 years agogdb/
Daniel Jacobowitz [Thu, 20 Jul 2006 22:50:07 +0000 (22:50 +0000)]
gdb/
* eval.c (evaluate_struct_tuple): Skip static fields.
gdb/testsuite/
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.

18 years ago * config/tc-mips.c (md_parse_option): Don't infer optimisation
Thiemo Seufer [Thu, 20 Jul 2006 16:51:38 +0000 (16:51 +0000)]
* config/tc-mips.c (md_parse_option): Don't infer optimisation
options from debug options.

18 years ago [ bfd/ChangeLog ]
Thiemo Seufer [Thu, 20 Jul 2006 16:46:30 +0000 (16:46 +0000)]
[ bfd/ChangeLog ]
* elf32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
instead of mips16_jump_reloc.
* elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
_bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.

[ gas/ChangeLog ]
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
(tc_gen_reloc): Handle mips16 jumps to section symbol offsets.

[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-call-global-1.s,
ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Test linking of external mips16 jumps.
* ld-mips-elf/mips-elf.exp: Run new test.

18 years ago*** empty log message ***
gdbadmin [Thu, 20 Jul 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 20 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* alphaobsd-tdep.c: Include "obsd-tdep.h".
Mark Kettenis [Wed, 19 Jul 2006 23:23:35 +0000 (23:23 +0000)]
* alphaobsd-tdep.c: Include "obsd-tdep.h".
(alphaobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (alphaobsd-tdep.o): Update dependencies.
* config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.

18 years ago* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
Mark Kettenis [Wed, 19 Jul 2006 18:21:36 +0000 (18:21 +0000)]
* arm-tdep.c (arm_gdbarch_init): Get default floating-point model
from ELF flags for binaries produced by the GNU toolchain.

18 years ago2006-07-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 19 Jul 2006 17:06:06 +0000 (17:06 +0000)]
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
for stages after the first.
* Makefile.in: Regenerate.

config:
2006-07-19  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Support --with-build-libsubdir and AC_SUBST
build_libsubdir.

18 years ago2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Wed, 19 Jul 2006 13:05:21 +0000 (13:05 +0000)]
2006-07-19  Andrew Stubbs  <andrew.stubbs@st.com>

* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.

18 years ago2006-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Jul 2006 12:53:33 +0000 (12:53 +0000)]
2006-07-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Fix rbit Arm opcode.
gas/testsuite/
* gas/arm/archv6t2.d: Adjust expected output for rbit.
opcodes/
* armd-dis.c (arm_opcodes): Fix rbit opcode.

18 years ago * ld-selective/selective.exp: Fix selective testcases for MIPS.
Thiemo Seufer [Wed, 19 Jul 2006 11:49:32 +0000 (11:49 +0000)]
* ld-selective/selective.exp: Fix selective testcases for MIPS.

18 years agocompile.c (OBITOP): Bit address mask low three bit.
Yoshinori Sato [Wed, 19 Jul 2006 06:27:04 +0000 (06:27 +0000)]
compile.c (OBITOP): Bit address mask low three bit.
compile.c (decode): Fix warning.

18 years ago * remote-fileio.c (remote_fileio_func_rename): Reorder to process
Nathan Sidwell [Wed, 19 Jul 2006 06:21:23 +0000 (06:21 +0000)]
* remote-fileio.c (remote_fileio_func_rename): Reorder to process
input buffer before reading memory.
(remote_fileio_func_stat): Likewise.

18 years ago * blockframe.c (find_pc_partial_function): Use the minimal symbol
Daniel Jacobowitz [Wed, 19 Jul 2006 02:17:23 +0000 (02:17 +0000)]
* blockframe.c (find_pc_partial_function): Use the minimal symbol
size to control the cache entry, if available.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
symbols with zero and non-zero sizes differently.

* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.

18 years agobfd/
Alan Modra [Wed, 19 Jul 2006 01:50:23 +0000 (01:50 +0000)]
bfd/
* bfd-in.h (enum notice_asneeded_action): Define.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_add_object_symbols): Call linker "notice"
function with NULL name for as-needed handling.
ld/
* ld.h (handle_asneeded_cref): Declare.
* ldcref.c: Include objalloc.h.
(old_table, old_count, old_tab, alloc_mark): New variables.
(tabsize, entsize, refsize, old_symcount): Likewise.
(add_cref): Use bfd_hash_allocate for refs.
(handle_asneeded_cref): New function.
* ldmain.c (notice): Call handle_asneeded_cref for NULL name.

18 years agodaily update
Alan Modra [Wed, 19 Jul 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 19 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
Daniel Jacobowitz [Tue, 18 Jul 2006 22:53:20 +0000 (22:53 +0000)]
* linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
(thread_db_fetch_registers, thread_db_store_registers)
(thread_db_thread_alive, thread_db_state_str): Delete.
(thread_db_load): Don't look up regset functions.
(thread_db_pid_to_str): Simplify.
(thread_db_extra_thread_info): New.
(init_thread_db_ops): Do not set to_fetch_registers,
to_store_registers, or to_thread_alive.  Set to_extra_thread_info.
* Makefile.in: Remove linux-thread-db.o rule.

18 years ago* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
Mark Kettenis [Tue, 18 Jul 2006 21:10:28 +0000 (21:10 +0000)]
* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
(armobsd_sigframe_init): New function.
(armobsd_sigframe): New variable.
(armobsd_init_abi): Prepend armobsd_sigframe unwinder.
* Makefile.in (armobsd-tdep.o): Update dependencies.

18 years ago * monitor.c: Remove unused prototypes.
Daniel Jacobowitz [Tue, 18 Jul 2006 20:45:01 +0000 (20:45 +0000)]
* monitor.c: Remove unused prototypes.

18 years agogas/testsuite/
H.J. Lu [Tue, 18 Jul 2006 20:25:41 +0000 (20:25 +0000)]
gas/testsuite/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/opcode.s: Add sldt, smsw and str.
* gas/i386/x86-64-opcode.s: Likewise.

* gas/i386/opcode.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2006-07-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Change "sldtQ", "strQ" and "smswQ" to
"sldt", "str" and "smsw".

18 years ago * gdb.threads/print-threads.exp: Use gdb_breakpoint.
Daniel Jacobowitz [Tue, 18 Jul 2006 19:37:23 +0000 (19:37 +0000)]
* gdb.threads/print-threads.exp: Use gdb_breakpoint.

18 years ago2006-07-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 18 Jul 2006 16:44:47 +0000 (16:44 +0000)]
2006-07-18  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.

18 years ago * gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test. Change
Thiemo Seufer [Tue, 18 Jul 2006 14:06:10 +0000 (14:06 +0000)]
* gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test.  Change
arguments for "madd.s" so that the instruction is correct for mips1
and still matches "bc3*".

18 years ago * bfd.texinfo: Add @section for "What to Put Where".
Thiemo Seufer [Tue, 18 Jul 2006 13:20:42 +0000 (13:20 +0000)]
* bfd.texinfo: Add @section for "What to Put Where".

18 years ago* defs.h (print_transfer_performance): Improve comments
Vladimir Prus [Tue, 18 Jul 2006 12:48:20 +0000 (12:48 +0000)]
* defs.h (print_transfer_performance): Improve comments

18 years ago2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Tue, 18 Jul 2006 12:45:56 +0000 (12:45 +0000)]
2006-07-18  Vladimir Prus  <vladimir@codesourcery.com>

           * target.c (tcomplain): Mark with ATTR_NORETURN.

18 years ago2006-07-18 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Tue, 18 Jul 2006 12:44:48 +0000 (12:44 +0000)]
2006-07-18  Vladimir Prus  <vladimir@codesourcery.com>

        * target.c (tcomplain): Mark with ATTR_NORETURN.

18 years ago* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
Nick Clifton [Tue, 18 Jul 2006 08:56:44 +0000 (08:56 +0000)]
* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.
  Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common sections.
* elfxx-mips.h  (_bfd_mips_elf_common_definition): Prototype.

18 years ago*** empty log message ***
gdbadmin [Tue, 18 Jul 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 18 Jul 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* printcmd.c: Coding style fixes: add missing spaces in comments
Mark Kettenis [Mon, 17 Jul 2006 22:15:55 +0000 (22:15 +0000)]
* printcmd.c: Coding style fixes: add missing spaces in comments
and wrapping long lines.
(delete_display, enable_display_command, disable_display_command)
(printf_command, display_info, undisplay_command, free_display)
(display_command, x_command, address_info, set_command)
(inspect_command, call_command, print_command, print_command_1)
(validate_format, print_formatted, decode_format, sym_format):
Remove prototypes.
(x_command): Make static.
(printf_command): Convert error into internal consistency check.
(address_info): Avoid assignment within function call.
(printf_command): Avoid redundant cast.
* tracepoint.c (x_command): Remove extern prototype.

18 years ago* gdb.base/long_long.exp (gdb_test_long_long): Exclude
Mark Kettenis [Mon, 17 Jul 2006 22:10:03 +0000 (22:10 +0000)]
* gdb.base/long_long.exp (gdb_test_long_long): Exclude
*-*-openbsd* from targets for wich we expect ARM FPA floating
point format.

18 years ago* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
Mark Kettenis [Mon, 17 Jul 2006 19:34:57 +0000 (19:34 +0000)]
* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
* Makefile.in (armobsd-tdep.o): Update dependencies.
* config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.

18 years ago * Makefile.def: Add dependencies for configure-opcodes
Jakub Jelinek [Mon, 17 Jul 2006 17:04:21 +0000 (17:04 +0000)]
* Makefile.def: Add dependencies for configure-opcodes
on configure-intl and all-opcodes on all-intl.
* Makefile.in: Regenerated.

18 years ago * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
Alan Modra [Mon, 17 Jul 2006 12:49:50 +0000 (12:49 +0000)]
* symbols.c (report_op_error): Fix pasto.  Don't use as_bad_where
when file and line unknown.

18 years ago * read.c (s_struct): Use IS_ELF.
Thiemo Seufer [Mon, 17 Jul 2006 10:40:11 +0000 (10:40 +0000)]
* read.c (s_struct): Use IS_ELF.
* config/tc-mips.c (md_begin, mips16_mark_labels, mips_ip,
md_parse_option, s_change_sec, pic_need_relax, mips_fix_adjustable,
tc_gen_reloc, mips_frob_file_after_relocs, s_mips_end, s_mips_frame,
s_mips_mask): Likewise.

18 years agoExpect frame-begin annotation.
Nick Roberts [Mon, 17 Jul 2006 07:29:47 +0000 (07:29 +0000)]
Expect frame-begin annotation.

18 years ago*** empty log message ***
Nick Roberts [Mon, 17 Jul 2006 07:28:35 +0000 (07:28 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 17 Jul 2006 00:00:13 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 17 Jul 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* armobsd-tdep.c: New file.
Mark Kettenis [Sun, 16 Jul 2006 15:29:09 +0000 (15:29 +0000)]
* armobsd-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
(armobsd-tdep.o): New dependency.
* config/arm/obsd.mt: New file.
* configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.

18 years agoOops, committed spaces where it should have been a tab.
Mark Kettenis [Sun, 16 Jul 2006 11:05:07 +0000 (11:05 +0000)]
Oops, committed spaces where it should have been a tab.

18 years ago* gdbarch.sh (deprecated_saved_pc_after_call): Delete.
Mark Kettenis [Sun, 16 Jul 2006 11:03:41 +0000 (11:03 +0000)]
* gdbarch.sh (deprecated_saved_pc_after_call): Delete.

18 years ago* arm-tdep.c (arm_saved_pc_after_call): Delete.
Mark Kettenis [Sun, 16 Jul 2006 10:33:25 +0000 (10:33 +0000)]
* arm-tdep.c (arm_saved_pc_after_call): Delete.
(arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.

18 years ago * read.c (s_struct): Handle ELF section changing.
Thiemo Seufer [Sun, 16 Jul 2006 10:19:19 +0000 (10:19 +0000)]
* read.c (s_struct): Handle ELF section changing.
* config/tc-mips.c (s_align): Leave enabling auto-align to the
generic code.
(s_change_sec): Try section changing only if we output ELF.

18 years agoUndefine _process_user_ before including
Alfred M. Szmidt [Sun, 16 Jul 2006 09:57:02 +0000 (09:57 +0000)]
Undefine _process_user_ before including
<hurd/process_request.h>.
(gnu_resume): Supply missing argument to error().
(gnu_read_inferior): Add extra parenthesis around arithmetic
expression to silence warnings from GCC.
(gnu_write_inferior): Likewise.
(gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.

18 years ago*** empty log message ***
gdbadmin [Sun, 16 Jul 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 16 Jul 2006 00:00:12 +0000 (00:00 +0000)]
daily update

18 years ago* armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
Mark Kettenis [Sat, 15 Jul 2006 22:38:58 +0000 (22:38 +0000)]
* armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
svr4_ilp_fetch_link_map_offsets.

18 years ago* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
Mark Kettenis [Sat, 15 Jul 2006 21:22:51 +0000 (21:22 +0000)]
* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
(DEPRECATED_TM_FILE): Remove.
* Makefile.in (armnbsd-tdep.o): Update dependencies.

18 years agoAdd missing ChangeLog entry.
H.J. Lu [Sat, 15 Jul 2006 16:58:36 +0000 (16:58 +0000)]
Add missing ChangeLog entry.

18 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:33:24 +0000 (16:33 +0000)]
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2829
* i386-dis.c (GRP11_C6): NEW.
(GRP11_C7): Likewise.
(GRP12): Updated.
(GRP13): Likewise.
(GRP14): Likewise.
(GRP15): Likewise.
(GRP16): Likewise.
(GRPAMD): Likewise.
(GRPPADLCK1): Likewise.
(GRPPADLCK2): Likewise.
(dis386): Use GRP11_C6 and GRP11_C7 for entres 0xc6 and 0xc7,
respectively.
(grps): Add entries for GRP11_C6 and GRP11_C7.

18 years ago2006-07-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 15 Jul 2006 16:32:48 +0000 (16:32 +0000)]
2006-07-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Remove Cpu086, CpuAthlon and
CpuAmdFam10.
(smallest_imm_type): Remove Cpu086.
(i386_target_format): Likewise.

* config/tc-i386.h: Remove Cpu086, CpuAthlon and CpuAmdFam10.
Update CpuXXX.

18 years agodaily update
Alan Modra [Sat, 15 Jul 2006 00:00:09 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 15 Jul 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * PROBLEMS: Document threads/2137.
Joel Brobecker [Fri, 14 Jul 2006 22:55:58 +0000 (22:55 +0000)]
    * PROBLEMS: Document threads/2137.

18 years ago * gdb.base/help.exp: Adjust "help unset" test to accept
Joel Brobecker [Fri, 14 Jul 2006 22:53:19 +0000 (22:53 +0000)]
    * gdb.base/help.exp: Adjust "help unset" test to accept
        any list of unset commands.

18 years ago2006-07-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 14 Jul 2006 16:15:27 +0000 (16:15 +0000)]
2006-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Remove InvMem from maskmovq, movhlps,
movlhps, movmskps, pextrw, pmovmskb, movmskpd, maskmovdqu,
movdq2q and movq2dq.

18 years ago * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
Daniel Jacobowitz [Fri, 14 Jul 2006 15:26:36 +0000 (15:26 +0000)]
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
typo setting targ_extra_libpath.

18 years ago * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.
Jakub Jelinek [Fri, 14 Jul 2006 13:48:06 +0000 (13:48 +0000)]
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value.

18 years ago* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
Mark Kettenis [Fri, 14 Jul 2006 11:00:59 +0000 (11:00 +0000)]
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
to the start of a block.

18 years ago*** empty log message ***
gdbadmin [Fri, 14 Jul 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 14 Jul 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoAdd amdfam10 instructions
Michael Meissner [Thu, 13 Jul 2006 22:25:48 +0000 (22:25 +0000)]
Add amdfam10 instructions

18 years ago* config/alpha/tm-nbsd.h: Remove file.
Mark Kettenis [Thu, 13 Jul 2006 21:38:11 +0000 (21:38 +0000)]
* config/alpha/tm-nbsd.h: Remove file.
* config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.

18 years ago2006-07-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 13 Jul 2006 18:13:36 +0000 (18:13 +0000)]
2006-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (Size64): Fix a typo in comment.

18 years ago * mips-tdep.c (mips_integer_to_address): Simplify be calling
Corinna Vinschen [Thu, 13 Jul 2006 13:14:54 +0000 (13:14 +0000)]
* mips-tdep.c (mips_integer_to_address): Simplify be calling
extract_signed_integer directly.  Fix comment.

18 years ago * m32c-tdep.c (m32c_banked_register): New function.
Corinna Vinschen [Thu, 13 Jul 2006 12:01:21 +0000 (12:01 +0000)]
* m32c-tdep.c (m32c_banked_register): New function.
(m32c_banked_read): Use m32c_banked_register function to evaluate
real register number.
(m32c_banked_write): Ditto.
(m32c_virtual_frame_pointer): New function.
(m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.