aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-14 * psympriv.h (add_psymbol_to_list, init_psymbol_list)Tom Tromey4-57/+64
(start_psymtab_common, allocate_psymtab, discard_psymtab): Declare. * symfile.h (extend_psymbol_list): Remove. (add_psymbol_to_list, init_psymbol_list, start_psymtab_common) (allocate_psymtab, discard_psymtab): Move to psympriv.h. * psymtab.c (extend_psymbol_list): Move earlier. Now static.
2010-09-14 * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.Cary Coutant2-32/+47
(Target_x86_64::Relocate::relocate_tls): Replace check for saw_tls_block_reloc_ with test for executable section.
2010-09-14gdb/Jan Kratochvil2-4/+8
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-6/+10
* pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make .rdata, .data, and .text partial matched section names. * pei-x86_64.c: Likewise.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+42
* peXXigen.c (sort_x64_pdata): New helper. (_bfd_XXi_final_link_postscript): Do pdata sorting.
2010-09-14gdbTom Tromey4-7/+15
PR symtab/8399: * dwarf2loc.c (locexpr_describe_location_piece): Don't call error for unrecognized frame base expression. gdb/testsuite PR symtab/8399: * gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14gdbTom Tromey5-21/+31
PR exp/11803: * value.c (value_static_field): Use value_of_variable. gdb/testsuite PR exp/11803: * gdb.threads/tls.exp: Use C++. (check_thread_local): Use K::another_thread_local. * gdb.threads/tls.c (class K): New. (another_thread_local): Now a member of K. (spin): Update. No longer K&R C.
2010-09-14 * doc/c-arm.texi: Document -mcpu=cortex-m4.Jie Zhang2-0/+5
2010-09-14 * m32r-rom.c: Replace winsock.h with winsock2.h header.Pierre Muller3-2/+7
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010-09-14daily updateAlan Modra1-1/+1
2010-09-14*** empty log message ***gdbadmin1-1/+1
2010-09-13Fix PR 11992: C++ 'this' scope sometimes does not workSami Wagiaalla5-0/+37
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> PR symtab/11992: * c-exp.y (classify_name): Check is_a_member_of_this before returning UNKNOWN_CPP_NAME. 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.cc: created class for testing member lookup. * gdb.cp/koenig.exp: Added test for member lookup.
2010-09-13[NEWS] Announce gdbserver support for x86-lynxosJoel Brobecker2-1/+7
This patch adjusts the NEWS entry for the LynxOS gdbserver to include x86-lynxos to the list of supported platforms. gdb/ChangeLog: * NEWS: Add x86-lynxos to the list of platforms supported by gdbserver.
2010-09-13gdb/testsuite/Jan Kratochvil2-2/+8
Fix false FAILs on sourcetree topdir directory containing "kill". * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the source line matching regexp.
2010-09-13Add support for x86 LynxOSJoel Brobecker3-0/+328
This patch adds support for x86 LynxOS (tested on LynxOS 5.0). gdb/gdbserver/ChangeLog: * lynx-i386-low.c: New file. * configure.srv: Add handling of i[34567]86-*-lynxos* targets.
2010-09-13[NEWS] Announce support for PowerPC LynxOS 5.x.Joel Brobecker2-1/+5
This adjusts the news entry about ppc-lynxos to add version 5.x of the OS to the list of supported versions... gdb/ChangeLog: * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
2010-09-13[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.Joel Brobecker2-40/+5
Some of the PTRACE_ macros/values were removed in LynxOS 5.x. Since we have not use them so far, the chances that we will use them one day are very small. So I decided to delete them. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Remove handling for request values that have been removed in LynxOS 5.x.
2010-09-13[LynxOS] Include sys/ptrace.h instead of ptrace.h.Joel Brobecker3-2/+7
This is one of the changes needed in order to build gdbserver on LynxOS 5.x. Really interesting: On LynxOS 4.x, there is a #warning when sys/ptrace.h is used (explaining that ptrace.h will be used instead), whereas this file was removed from LynxOS 5.x. The contents of sys/ptrace.h on 4.x (or at least the meat of it): #if defined(__GNUC__) || defined(__GNUG__) #if !defined(__NO_INCLUDE_WARN__) #warning Using <ptrace.h> instead of <sys/ptrace.h> #endif /* defined(__NO_INCLUDE_WARN__) */ #endif /* defined(__GNUC__) || defined(__GNUG__) */ #include <ptrace.h> The fix I went for, for now, is to just include <sys/ptrace.h> unconditionally. I could have done some configury, but we already have to build with -D__NO_INCLUDE_WARN__ to avoid the warnings anyway, and that's unvoidable, due to system includes themselves including the "wrong" header file. Since <sys/ptrace.h> seems to be the choice that was made for LynxOS, and since it works to include it on LynxOS 4.x, I think that's the simplest solution. gdb/gdbserver/ChangeLog: * lynx-low.c, lynx-ppc-low.c: Include <sys/ptrace.h> instead of <ptrace.h>
2010-09-13 * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:Tom Tromey2-0/+10
Document "fullname" and "from".
2010-09-13 * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.Tom Tromey2-1/+5
2010-09-13Set 256bit vector type name to builtin_type_vec256i.H.J. Lu2-1/+6
2010-09-13 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_ymm_type): Set type name to builtin_type_vec256i.
2010-09-132010-09-13 Kai Tietz <kai.tietz@onevision.com>Kai Tietz8-0/+114
* gas/pe/pe.exp: Add x64 SEH tests. * gas/pe/peseh-x64.s: New. * gas/pe/peseh-x64.d: New. * gas/pe/peseh-x64-2.s: New. * gas/pe/peseh-x64-2.d: New. * gas/pe/peseh-x64-3.s: New. * gas/pe/peseh-x64-3.d: New.
2010-09-13*** empty log message ***gdbadmin1-1/+1
2010-09-13daily updateAlan Modra1-1/+1
2010-09-122010-09-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12 * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls fromCary Coutant4-4/+44
position-independent executables to shared libraries need dynamic relocations. (Symbol::may_need_copy_reloc): Do not generate COPY relocs in position-independent executables. * testsuite/Makefile.am (two_file_mixed_pie_test): New test. * testsuite/Makefile.in: Regenerate.
2010-09-12Fix typo in comments.H.J. Lu2-3/+7
2010-09-12 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12*** empty log message ***gdbadmin1-1/+1
2010-09-12daily updateAlan Modra1-1/+1
2010-09-11Remove amd64_register_name.H.J. Lu4-17/+10
2010-09-11 H.J. Lu <hongjiu.lu@intel.com> * amd64-tdep.c (amd64_register_name): Removed. (amd64_init_abi): Don't call set_gdbarch_register_name. * i386-tdep.c (i386_ymmh_regnum_p): Make it static. * i386-tdep.h (i386_ymmh_regnum_p): Removed.
2010-09-11gdb/Jan Kratochvil9-1/+75
Redirect also uiout and stdtarg{,err} in execute_command_to_string. * cli-logging.c (struct saved_output_files) <targerr>: New. (set_logging_redirect, pop_output_files, handle_redirections): Redirect also gdb_stdtargerr. * defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New declarations. * event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect also gdb_stdtargerr. * top.c (execute_command_to_string): Move make_cleanup_ui_file_delete to the top. Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr. Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop. * tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr. * utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop): New functions. gdb/testsuite/ * gdb.python/python.exp (set height 0, collect help from uiout) (verify help to uiout): New tests.
2010-09-11daily updateAlan Modra1-1/+1
2010-09-11*** empty log message ***gdbadmin1-1/+1
2010-09-10merge from gccDJ Delorie2-1/+7
2010-09-102010-09-10 James Lyon <jameslyon0@googlemail.com>Tom Tromey3-0/+39
http://sourceware.org/bugzilla/show_bug.cgi?id=11572 * cp-demangle.c (d_find_pack): Add case for DEMANGLE_COMPONENT_LAMBDA. * testsuite/demangle-expected: Add regression test.
2010-09-10gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add is_lp64_target to check 64bit target.
2010-09-10 * hppa-tdep.c (unwind_command): Use host_address_to_string functionPierre Muller4-8/+18
to display a host address. * monitor.c (monitor_read_memory): Likewise. * xtensa-tdep.c (xtensa_push_dummy_call): Likewise.
2010-09-10 * coffread.c (struct coff_symbol): Change c_value type from `long' toPierre Muller2-1/+6
`CORE_ADDRESS' as it might contain target addresses.
2010-09-10 * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macroPierre Muller2-1/+6
before cast to pointer to avoid warning.
2010-09-10 * src/opcodes/dlx-dis.c (print_insn_dlx): Use dlx_insn type forPierre Muller2-11/+16
dlx_insn_type array.
2010-09-10 * objcopy.c: Add --interleave-width option to allow interleavingNick Clifton6-25/+129
of more than one byte at a time. (copy_width): New variable. (copy_options): Add --interleave-width. (copy_section): When interleaving copy in units of copy_width bytes. (copy_main): Parse the new option. * doc/binutils: Document the new option. * NEWS: Mention the new feature. * binutils-all/objcopy.exp: Add test of new --interleave-width option.
2010-09-10 PR gold/11997Nick Clifton2-8/+7
* testsuite/memory_test.t: Discard any sections that are not needed.
2010-09-10 * ld-gc/abi-note.d: Exclude aout and oldld targets.Alan Modra4-1/+9
* ld-gc/start.d: Likewise. * ld-scripts/section-match-1.d: Likewise, and tic30.
2010-09-10 PR ld/11931Alan Modra4-58/+28
* ldlang.h (lang_for_each_statement_worker): Declare. * ldlang.c (lang_for_each_statement_worker): Make global. Don't recurse into children of output_section_statement with constraint set to -1. (print_assignment): Handle NULL output_section->bfd_section. (lang_size_sections_1): Ignore output section statement address when constraint is -1. * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
2010-09-10 * ld-scripts/rgn-at5.d: Restrict to *-*-linux*.Hans-Peter Nilsson2-0/+5
2010-09-10*** empty log message ***gdbadmin1-1/+1
2010-09-10daily updateAlan Modra1-1/+1
2010-09-09 * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'Kevin Buettner2-1/+6
type to be signed.
2010-09-09Check VEXW1 for 2-byte VEX prefix.H.J. Lu2-0/+6
2010-09-09 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte VEX prefix.
2010-09-09 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.Joseph Myers2-0/+13