aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-11-10 * gdbtypes.c (copy_type_recursive): Clear new fields.Tom Tromey2-0/+5
2008-11-10 * cli/cli-cmds.c (source_script): Clean up full_pathname. RunTom Tromey2-1/+10
cleanups on early return.
2008-11-10 * objdump.c (disassemble_bytes): Don't skip leading zeros whenAlan Modra2-13/+18
end of section calculation overflows.
2008-11-10*** empty log message ***gdbadmin1-1/+1
2008-11-09daily updateAlan Modra1-1/+1
2008-11-09 Kill pthread_ops_hackVladimir Prus28-180/+309
* target.h (struct target_ops): Make to_attach, to_detach, to_create_inferior and to_mourn_inferior accept a pointer to struct target_ops. (target_attach, target_create_inferior, target_create_inferior): Convert from macros to function. Find the right target to invoke a method of. (find_default_attach, find_default_create_inferior): New parameter ops. * corefile.c (core_file_command): Pass target to to_detach. * corelow.c (core_detach): Add 'ops' parameter. * fork-child.c (fork_inferior): Return the pid. Allow init_trace_fun to be NULL. * inf-ptrace (ptrace_ops_hack): Remove. (inf_ptrace_him): Remove, moving all logic into.... (inf_ptrace_create_inferior): ... here. Push the target passed as parameter. (inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach): Push/pop target passed as parameter, no ptrace_ops_hack. (inf_ptrace_target): Don't remember result. * inferior.h (fork_inferior): Adjust prototype. * linux-nat.c (linux_nat_create_inferior, linux_nat_attach) (linux_nat_detach, linux_nat_mourn_inferior): New parameter ops. Pass it to linux_ops target. * linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior): New parameter ops. Pass it to the target beneath. * remote.c (remote_mourn, extended_remote_mourn, remote_detach) (extended_remote_create_inferior): New parameter ops. Pass it further. * target.c (debug_to_attach, debug_to_detach) (debug_to_mourn_inferior): New parameter ops. (target_create_inferior): New. (update_current_target): Do not inherit to_attach, to_detach, to_create_inferiour, to_mourn_inferior. Do not default to_detach and to_mourn_inferior. (target_detach): Find the right target to use. (target_mourn_inferior): New. (find_default_attach, find_default_create_inferior): New parameter ops. Pass the found target when calling its method. (init_dummy_target): Provide fallback definition of to_detach. (target_attach): New. (debug_to_attach, debug_to_detach, debug_to_create_inferior) (debug_to_mourn_inferiour): New parameter ops. * aix-thread.c: Adjust. * bsd-uthread.c: Adjust. * gnu-nat.c: Adjust. * go32-nat.c: Adjust. * hpux-thread.c: Adjust. * inf-ttrace.c: Ajust. * monitor.c: Adjust. * nto-procfs.c: Adjust. * procfs.c: Adjust. * remote-m32r-sdi.c: Adjust. * remote-mips.c: Adjust. * remote-sim.c: Adjust. * rs6000-nat.c: Adjust. * sol-thread.c: Adjust. * win32-nat.c: Adjust. * dec-thread.c: Adjust.
2008-11-09 * thread.c (print_thread_info): Eliminate now useless checksVladimir Prus2-12/+12
for exited threads.
2008-11-09*** empty log message ***gdbadmin1-1/+1
2008-11-08daily updateAlan Modra1-1/+1
2008-11-08(coff_symtab_read): Fix a typo in a comment.Eli Zaretskii1-1/+1
2008-11-08*** empty log message ***gdbadmin1-1/+1
2008-11-07daily updateAlan Modra1-1/+1
2008-11-07fix typo in dateDoug Evans1-1/+1