aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-07-23 * linux-nat.c (linux_nat_add_target): Remove extern.Daniel Jacobowitz3-2/+8
* linux-nat.h (thread_db_init): New prototype.
2006-07-23* ldlang.c (lang_section_bst): New structure for sorting sections by name.Nick Clifton2-41/+160
(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.
2006-07-23gdb/Daniel Jacobowitz15-1888/+3955
* 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.
2006-07-23 * configure.in: Allow mingw32 and cygwin targets to build cross-gdb.Daniel Jacobowitz7-198/+177
* 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.
2006-07-23daily updateAlan Modra1-1/+1
2006-07-23*** empty log message ***gdbadmin1-1/+1
2006-07-22* infrun.c (handle_inferior_event): Typo.Mark Kettenis2-1/+5
2006-07-22daily updateAlan Modra1-1/+1
2006-07-22*** empty log message ***gdbadmin1-1/+1
2006-07-212006-07-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs14-15/+221
* 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.
2006-07-21* ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the multilibNick Clifton2-2/+9
being tested.
2006-07-21* config/tc-sh.c (md_longopts): Add -EL and -EB for use by the linker testsuite.Nick Clifton2-0/+9
2006-07-21*** empty log message ***gdbadmin1-1/+1
2006-07-21daily updateAlan Modra1-1/+1
2006-07-20Update amd family 10 instructions to add appropriate alignment for cygwinMichael Meissner5-0/+18
2006-07-20gdb/Daniel Jacobowitz4-3/+16
* eval.c (evaluate_struct_tuple): Skip static fields. gdb/testsuite/ * gdb.cp/bs15503.exp: Update comment for no longer crashing test.
2006-07-20 * config/tc-mips.c (md_parse_option): Don't infer optimisationThiemo Seufer2-5/+6
options from debug options.
2006-07-20 [ bfd/ChangeLog ]Thiemo Seufer12-99/+103
* 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.
2006-07-20*** empty log message ***gdbadmin1-1/+1
2006-07-20daily updateAlan Modra1-1/+1
2006-07-19* alphaobsd-tdep.c: Include "obsd-tdep.h".Mark Kettenis4-3/+11
(alphaobsd_init_abi): Set skip_solib_resolver. * Makefile.in (alphaobsd-tdep.o): Update dependencies. * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-19* arm-tdep.c (arm_gdbarch_init): Get default floating-point modelMark Kettenis2-8/+36
from ELF flags for binaries produced by the GNU toolchain.
2006-07-192006-07-19 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-0/+92
* 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.
2006-07-192006-07-19 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-8/+12
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2006-07-192006-07-19 Paul Brook <paul@codesourcery.com>Paul Brook6-6/+18
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.
2006-07-19 * ld-selective/selective.exp: Fix selective testcases for MIPS.Thiemo Seufer2-2/+13
2006-07-19compile.c (OBITOP): Bit address mask low three bit.Yoshinori Sato2-3/+8
compile.c (decode): Fix warning.
2006-07-19 * remote-fileio.c (remote_fileio_func_rename): Reorder to processNathan Sidwell2-25/+36
input buffer before reading memory. (remote_fileio_func_stat): Likewise.
2006-07-19 * blockframe.c (find_pc_partial_function): Use the minimal symbolDaniel Jacobowitz6-42/+258
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.
2006-07-19bfd/Alan Modra8-2/+187
* 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.
2006-07-19daily updateAlan Modra1-1/+1
2006-07-19*** empty log message ***gdbadmin1-1/+1
2006-07-18 * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)Daniel Jacobowitz3-217/+31
(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.
2006-07-18* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".Mark Kettenis3-2/+56
(armobsd_sigframe_init): New function. (armobsd_sigframe): New variable. (armobsd_init_abi): Prepend armobsd_sigframe unwinder. * Makefile.in (armobsd-tdep.o): Update dependencies.
2006-07-18 * monitor.c: Remove unused prototypes.Daniel Jacobowitz2-37/+6
2006-07-18gas/testsuite/H.J. Lu7-4/+60
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".
2006-07-18 * gdb.threads/print-threads.exp: Use gdb_breakpoint.Daniel Jacobowitz2-1/+5
2006-07-182006-07-18 Paul Brook <paul@codesourcery.com>Paul Brook9-13/+100
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.
2006-07-18 * gas/mips/mips4.s, gas/mips/mips4.d: Enable the "pref" test. ChangeThiemo Seufer3-17/+19
arguments for "madd.s" so that the instruction is correct for mips1 and still matches "bc3*".
2006-07-18 * bfd.texinfo: Add @section for "What to Put Where".Thiemo Seufer2-0/+5
2006-07-18* defs.h (print_transfer_performance): Improve commentsVladimir Prus2-1/+9
2006-07-182006-07-18 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-0/+4
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-182006-07-18 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-1/+1
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18* elfxx-mips.c (_bfd_mips_elf_common_definition): New function.Nick Clifton3-0/+18
Consider SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as being common sections. * elfxx-mips.h (_bfd_mips_elf_common_definition): Prototype.
2006-07-18*** empty log message ***gdbadmin1-1/+1
2006-07-18daily updateAlan Modra1-1/+1
2006-07-17* printcmd.c: Coding style fixes: add missing spaces in commentsMark Kettenis3-99/+78
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.
2006-07-17* gdb.base/long_long.exp (gdb_test_long_long): ExcludeMark Kettenis2-4/+11
*-*-openbsd* from targets for wich we expect ARM FPA floating point format.
2006-07-17* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.Mark Kettenis4-2/+10
* Makefile.in (armobsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-17 * Makefile.def: Add dependencies for configure-opcodesJakub Jelinek3-0/+24
on configure-intl and all-opcodes on all-intl. * Makefile.in: Regenerated.