aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-20 * objdump.c (slurp_file): Close file if fstat fails.Alan Modra2-8/+15
2012-02-20 * ld-elf/comm-data.exp: Run for *-*-gnu*.Alan Modra2-3/+8
2012-02-20*** empty log message ***gdbadmin1-1/+1
2012-02-19daily updateAlan Modra1-1/+1
2012-02-19 * deffilep.y (cmp_import_elem): Sort first by module name.Kai Tietz3-89/+109
* pe-dll.c (process_def_file_and_drectve): Free strings from removed export-element. (add_bfd_to_link): Optimize loop on import-elements and lower allocated memory. (pe_implied_import_dll): Pass NULL instead of 0 for pointer argument.
2012-02-19gdb/testsuite/Jan Kratochvil2-1/+9
Fix for gdbserver non-extended mode. * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint and gdb_run_cmd.
2012-02-19*** empty log message ***gdbadmin1-1/+1
2012-02-18daily updateAlan Modra1-1/+1
2012-02-18Minor reformatting in breakpoint.c (watchpoint_exp_is_const)Joel Brobecker2-0/+6
gdb/ChangeLog: * breakpoint.c (watchpoint_exp_is_const): Add missing empty line between function description and implementation.
2012-02-18 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast forHans-Peter Nilsson2-2/+7
temporary variable node used for NULL argument.
2012-02-18*** empty log message ***gdbadmin1-1/+1
2012-02-17daily updateAlan Modra1-1/+1
2012-02-17 PR python/10753:Tom Tromey2-1/+7
* gdb.texinfo (objfile-gdb.py file): Fix location of auto-load directory.
2012-02-17 PR python/12070:Tom Tromey9-4/+64
* python/py-event.c (event_object_getset): New global. (event_object_type): Reference it. * python/py-type.c (field_object_getset): New global. (field_object_type): Reference it. * python/python-internal.h (gdb_py_generic_dict): Declare. * python/py-utils.c (gdb_py_generic_dict): New function. testsuite/gdb * gdb.python/py-events.py (exit_handler): Add test for 'dir'. * gdb.python/py-events.exp: Check 'dir' output. * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2012-02-172012-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+26
* solib-darwin.c (darwin_current_sos): Check magic and filetype
2012-02-17 PR ld/13343Alan Modra14-85/+143
* ld.h (parsing_defsym): Delete. * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, exp_get_abs_int): Add tree arg for %S in error messages. Don't fudge lineno. (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy type.filename from sub-tree. (exp_trinop): Likewise, and use "cond" rather than "lhs". * ldexp.h (node_type): Add filename field to struct. * ldfile.c (ldfile_input_filename): Delete. Remove all refs. * ldfile.h (ldfile_input_filename): Delete. * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for %S in error messages. * ldemul.c (syslib_default, hll_default): Likewise. * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, lang_get_regions, lang_new_phdr): Likewise. (lang_size_sections_1): Pass addr_tree for %S. * ldlex.h (lex_redirect): Update prototype. (ldlex_filename): Declare. * ldlex.l (<EOF>): Don't set ldfile_input_filename. (lex_redirect): Add fake_filename and count params. Push fake_filename to file_name_stack and init lineno from count. (ldlex_filename): New function. (lex_warn_invalid): Use above. * ldmain.c (main): Update lex_redirect call. * ldmisc.c (vfinfo <%S>): Take file name and line number from etree_type arg, or use current if arg is NULL. * lexsup.c (parsing_defsym): Delete. (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
2012-02-17gdb/testsuite/Yao Qi2-0/+12
* gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2012-02-17support 16 sect-diffs for mach-oIain Sandoe2-22/+61
bfd: * mach-o-i386.c (i386_howto_table): Add support for 16 bit sect-diffs. (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. (bfd_mach_o_i386_swap_reloc_out): Likewise.
2012-02-17add LOCAL SECDIFF relocation for m32 mach-oIain Sandoe5-2/+39
bfd: * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): * libbfd.h: Regenerated. * bfd-in2.h: Likewise. * mach-o-i386.c (i386_howto_table): Include local sectdiff. (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. (bfd_mach_o_i386_swap_reloc_out): Likewise.
2012-02-17 * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling ofThomas Schwinge2-3/+23
TYPE_CALLING_CONVENTION annotation.
2012-02-172012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-6/+31
* elf32-s390.c (elf_s390_relocate_section): Support basr in the GD->LE and LD->LE optimizations.
2012-02-17*** empty log message ***gdbadmin1-1/+1
2012-02-16 * MAINTAINERS: Add rx to target ISA section.Kevin Buettner3-0/+10
* Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o. (ALLDEPFILES): Add rx-tdep.c.
2012-02-16Update sim_fetch_register, sim_store_register for sh and mn10300.Kevin Buettner4-4/+15
Fix compile warnings for sh built on 64-bit hosts.
2012-02-16 * symfile.c (symbol_file_add_main_1): Use inferior'sTom Tromey6-4/+33
symfile_flags. * solib.c (solib_read_symbols): Use inferior's symfile_flags. * linux-nat.c (linux_child_follow_fork): Set symfile_flags on inferior. * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on inferior. (follow_exec): Use inferior's symfile_flags. * inferior.h (struct inferior) <symfile_flags>: New field.
2012-02-16 * testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.Cary Coutant3-2/+7
* testsuite/Makefile.in: Regenerate.
2012-02-16gdb: sim: check return value of sim_create_inferiorMike Frysinger2-1/+10
The current gdbsim_create_inferior func doesn't check the return value of sim_create_inferior which can be problematic when that func doesn't return success. So, if it fails, call error() and be done. Reported-by: Richard Stuckey <richard.stuckey@arc.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-02-162012-02-16 Josh Matthews <josh@joshmatthews.net>Tristan Gingold2-1/+5
* machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
2012-02-16 * gdb.base/inferior-died.c: Don't include stdio.h.Tom Tromey2-1/+4
2012-02-16 PR c++/13653:Tom Tromey5-0/+114
* thread.c (struct current_thread_cleanup) <was_removable>: New field. (do_restore_current_thread_cleanup): Restore 'removable' field. (restore_current_thread_cleanup_dtor): Likewise. (make_cleanup_restore_current_thread): Initialize new field. testsuite/gdb * gdb.base/inferior-died.c: New file. * gdb.base/inferior-died.exp: New file.
2012-02-16gdb/gdbserver/Yao Qi5-87/+125
* inferiors.c: Move code to ... * dll.c: .... here. New. * server.h: Declare clear_dlls. * Makefile.in (SFILES): Add dll.c. (OBS): Add dll.o (dll.o): New rule.
2012-02-16 PR binutils/13355Alan Modra2-2/+7
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
2012-02-16*** empty log message ***gdbadmin1-1/+1
2012-02-15daily updateAlan Modra1-1/+1
2012-02-15 * MAINTAINERS: Add rl78 to target ISA section.Kevin Buettner4-0/+15
* Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o. (ALLDEPFILES): Add rl78-tdep.c. * NEWS: Mention rl78 as a new target.
2012-02-15 * frame.c (find_frame_sal): Initialize sal->pspace field from frameAleksandar Ristovski6-0/+75
data. * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL. testuite: * gdb.base/break-inline.exp: New file. * gdb.base/break-inline.c: New file.
2012-02-15 PR gdb/12659:Tom Tromey4-8/+17
* infcmd.c (registers_info): Print just the current register's name. gdb/testsuite * gdb.base/pc-fp.exp: Add "info register" tests.
2012-02-15 * gdb.base/regs.exp: Remove.Tom Tromey2-78/+4
2012-02-15 * dwarf.c (dwarf_vmatoa64): New function.Cary Coutant4-28/+74
(read_and_display_attr_value): Print 8-byte forms as single hex numbers. (process_debug_info): Print type signatures as single hex numbers. * elfcomm.c (byte_get_64): New function. * elfcomm.h (byte_get_64): New function.
2012-02-152012-02-15 Pedro Alves <palves@redhat.com>Pedro Alves12-32/+26
* gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when the target doesn't support tracepoints. * gdb.trace/circ.exp: Ditto. * gdb.trace/collection.exp: Ditto. * gdb.trace/packetlen.exp: Ditto. * gdb.trace/passc-dyn.exp: Ditto. * gdb.trace/report.exp: Ditto. * gdb.trace/tfind.exp: Ditto. * gdb.trace/tspeed.exp: Ditto. * gdb.trace/tsv.exp: Ditto. * gdb.trace/unavailable.exp: Ditto. * gdb.trace/while-dyn.exp: Ditto.
2012-02-15 * python/py-symbol.c (sympy_value): Use _().Tom Tromey2-2/+6
2012-02-152012-02-15 Pedro Alves <palves@redhat.com>Pedro Alves2-6/+34
* gdb.trace/circ.exp (trace_buffer_normal): Rewrite using gdb_test_multiple, and call unsupported instead of fail, if the remote side does not support the request.
2012-02-152012-02-15 Pedro Alves <palves@redhat.com>Pedro Alves7-1/+35
* gdb.server/ext-attach.exp: Make sure gdb is disconnected. * gdb.server/ext-run.exp: Make sure gdb is disconnected. * gdb.server/file-transfer.exp: Make sure gdb is disconnected. * gdb.server/server-mon.exp: Make sure gdb is disconnected. * gdb.server/server-run.exp: Make sure gdb is disconnected. * lib/gdbserver-support.exp (gdbserver_start_extended): Only prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol doesn't start with "extended-" already.
2012-02-15gdb/Pedro Alves5-22/+71
2012-02-15 Pedro Alves <palves@redhat.com> * remote.c (remote_detach_1, extended_remote_attach_1): Tweak output to be like native targets'. (remote_pid_to_str): Special case the null ptid. gdb/testsuite/ 2012-02-15 Pedro Alves <palves@redhat.com> Support extended-remote. Avoid cascading timeouts. * gdb.base/attach.exp (do_attach_tests): Add expected output for the extended-remote target. If attaching with no file fails, load the file manually. * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2012-02-15 * options.cc (General_options::finalize): Disallow -pie and -static.Cary Coutant2-0/+6
2012-02-15*** empty log message ***gdbadmin1-1/+1
2012-02-142012-02-14 Stan Shebs <stan@codesourcery.com>Stan Shebs8-10/+145
* NEWS: Mention enable count command. * breakpoint.h (struct breakpoint): New field enable_count. * breakpoint.c (enable_breakpoint_disp): Add count argument. (enable_breakpoint): Add arg to call. (struct disp_data): New struct. (do_enable_breakpoint_disp): Interp arg as disp_data and unpack. (do_map_enable_once_breakpoint): Create a struct and pass it. (do_map_enable_delete_breakpoint): Ditto. (do_map_enable_count_breakpoint): New function. (enable_count_command): New function. (bpstat_stop_status): Decrement enable_count. (print_one_breakpoint_location): Report enable count. (_initialize_breakpoint): Add enable count command. * gdb.texinfo (Disabling Breakpoints): Document enable count. * gdb.base/ena-dis-br.exp: Add enable count test.
2012-02-14daily updateAlan Modra1-1/+1
2012-02-14 PR ld/13621Richard Henderson3-1/+14
* ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
2012-02-14rl78-tdep.c: Rearrange order in which registers are displayed.Kevin Buettner2-68/+251