aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-15 * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_addressCary Coutant2-1/+6
instead of -1U.
2008-11-15daily updateAlan Modra1-1/+1
2008-11-15*** empty log message ***gdbadmin1-1/+1
2008-11-142008-11-14 Daniel Gutson <dgutson@codesourcery.com>Daniel Jacobowitz8-3/+418
* configure.tgt (sparc64-*-linux*): Added gdbserver support. * regformats/reg-sparc64.dat: New file. gdbserver/ 2008-11-14 Daniel Gutson <dgutson@codesourcery.com> * Makefile.in (SFILES, clean): Added sparc64 files. (reg-sparc64.o, reg-sparc64.c): New. * configure.srv (sparc*-*-linux*): New configuration. * linux-low.c (regsets_fetch_inferior_registers): Swap ptrace syscall arguments for SPARC. (regsets_store_inferior_registers): Likewise. * linux-sparc-low.c: New file.
2008-11-14/bfd:Eric B. Weddington2-0/+9
2008-11-14 Eric B. Weddington <eric.weddington@atmel.com> PR 7022 * elf32-avr.c (bfd_elf_avr_final_write_processing): Add missing break statements.
2008-11-14gdbTom Tromey4-1/+95
PR mi/2549: * mi/mi-main.c (get_register): Use get_formatted_print_options. gdb/testsuite 2008-11-14 Nick Roberts <nickrob@snap.net.nz> * gdb.mi/gdb2549.exp: New file.
2008-11-14 * xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.Bob Wilson2-1033/+1688
(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id) (xtensa_iclass_id, xtensa_opcode_id): New enums. Replace hardcoded constants throughout this file with enum values.
2008-11-14merge from gccDJ Delorie3-23/+18
2008-11-142008-11-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz7-46/+161
* emultempl/pep.em (..._before_parse): initialize pei386_runtime_pseudo_reloc by version 2. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. (make_import_fixup): Use relocation size to read addend. * emultempl/pe.em (..._before_parse): initialize pei386_runtime_pseudo_reloc by version 1. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. * pe-dll.c (pe-dll.h): Remove useless include. (make_runtime_pseudo_reloc): Change addend to use bfd_vma. Handle the two variants of pseudo-relocation. (pe_create_import_fixup): Change addend to type bfd_vma. Modify for the two pseudo_relocation variants. (runtime_pseudp_reloc_v2_init): New static variable. * pe-dll.h (pe_create_import_fixup): Change addend argument type to bfd_vma. * pep-dll.h (pep_create_import_fixup): Likewise. * NEWS: Add comment.
2008-11-14 Revert:Daniel Jacobowitz6-42/+35
2008-10-24 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. * Makefile.in: Regenerated. 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD.
2008-11-142008-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-95/+12
Remove outdated mach-o specific tests. * objdump.c (load_debug_section): Remove mach-o specific test. (mach_o_uncompressed_dwarf_sections): Removed. (mach_o_compressed_dwarf_sections): Removed. (generic_uncompressed_dwarf_sections): Removed. (generic_compressed_dwarf_sections): Removed. (check_mach_o_dwarf): Removed. (dump_dwarf): Remove call to check_mach_o_dwarf.
2008-11-14 bfd/Nick Clifton4-1/+33
* elf.c (assign_file_positions_for_load_sections): Use header_size to avoid moving the load address of file headers. (assign_file_positions_for_load_sections): Set header_size for segments containing the file header. include/elf/ * internal.h (struct elf_segment_map): Add header_size field.
2008-11-14 * read.c (emit_expr): Grow frag before filling it so thatNick Clifton2-0/+8
dot_value remains valid.
2008-11-14bfd/Tristan Gingold16-47/+215
2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update.
2008-11-14 PR 7026Nick Clifton2-5/+11
* config/tc-arm.c: Ensure that all uses of as_bad have a formatting string.
2008-11-14(set_lang_c): Delete.Doug Evans1-35/+3
(runto_main): If it fails, call fail instead of gdb_suppress_tests.
2008-11-14 * Makefile.am (spu_ovl.o_c): Add missing line continuations.Alan Modra3-4/+9
* Makefile.in: Regenerate.
2008-11-14daily updateAlan Modra1-1/+1
2008-11-14*** empty log message ***gdbadmin1-1/+1
2008-11-13 * configure.in: Deactivate large-file support on native 32bitJoel Brobecker3-14/+50
sparc-solaris unless the user explicitly requested it. * configure: Regenerate.
2008-11-13 * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.Joel Brobecker2-1/+5
2008-11-13gdb/ChangeLog:Ulrich Weigand4-1/+15
* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and AT_EXECFN. Re-sort AT_SECURE. include/elf/ChangeLog: * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
2008-11-13 * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.Jan Kratochvil2-2/+5
2008-11-13 * nm.c (filter_symbols): Only call memcpy when from != to.Hans-Peter Nilsson2-1/+7
2008-11-13 * ia64-tdep.c: Remove commented out #define.Joel Brobecker2-3/+4
2008-11-13 PR ld/7028Hans-Peter Nilsson2-1/+22
* elf.c (assign_file_positions_for_load_sections): Allocate phrds with bfd_zalloc2 instead of bfd_alloc2. For the amount, use the possibly-preset header-size, not the computed one.
2008-11-13 * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameterJoel Brobecker2-1/+7
instead of the "gdbsim_ops" global.
2008-11-13daily updateAlan Modra1-1/+1
2008-11-13*** empty log message ***gdbadmin1-1/+1
2008-11-122008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-21/+25
* aclocal.m4: Fix underquoting of function names.
2008-11-12 PR 7023Alan Modra2-0/+7
* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.
2008-11-122008-11-12 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+7
* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
2008-11-12 * config/tc-cris.c (cris_number_to_imm): Except forHans-Peter Nilsson2-28/+22
BFD_RELOC_NONE, always set contents. Where previously this was skipped, set contents to 0.
2008-11-12 PR gas/7025Hans-Peter Nilsson2-0/+10
* input-scrub.c (input_scrub_include_sb): Make the position after the input have defined contents, a 0 character.
2008-11-12 * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,Hans-Peter Nilsson4-0/+41
gas/cris/rd-bcnst2.s: New tests.
2008-11-12 * config/tc-cris.c (cris_relax_frag): Add missing case forHans-Peter Nilsson2-0/+4
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
2008-11-12 PR gas/7020Hans-Peter Nilsson1-0/+1
* read.c (read_a_source_file): Rearrange evaluation order when looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
2008-11-12 * read.c (read_a_source_file): Rearrange evaluation order whenHans-Peter Nilsson2-4/+10
looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
2008-11-12 * infcall.c (call_function_by_hand): Handle inferior exit.Doug Evans5-0/+142
* gdb.base/callexit.exp: New file. * gdb.base/callexit.c: New file.
2008-11-12*** empty log message ***gdbadmin1-1/+1
2008-11-11daily updateAlan Modra1-1/+1
2008-11-112008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-4/+9
* erc32.c, exec.c: Fix warnings.
2008-11-11 * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): AddThiago Jung Bauermann2-3/+9
missing struct target_ops argument.
2008-11-112008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>Joel Sherrill2-0/+5
* MAINTAINERS: Add myself for write after approval privileges.
2008-11-11 * elf.c (assign_file_positions_for_non_load_sections): ConsolidateAlan Modra2-40/+31
PT_GNU_RELRO handling.
2008-11-11 * lib/gdb.exp (GDBFLAGS): Move -nx ...Doug Evans7-32/+51
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well. (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations. (default_gdb_start,default_gdb_exit): Ditto. * lib/mi-support.exp (default_mi_gdb_start): Ditto. (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message. * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations. * gdb.base/dbx.exp (dbx_gdb_start): Ditto. * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append. * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2008-11-11*** empty log message ***gdbadmin1-1/+1
2008-11-10daily updateAlan Modra1-1/+1
2008-11-10 PR 7012Alan Modra2-32/+44
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd memory. Return on errors. Fix memory leak. (_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.
2008-11-10 PR 7011Andreas Schwab2-65/+72
* elf.c (assign_file_positions_for_non_load_sections): Handle PT_GNU_RELRO specially.