aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-02-17 * lib/gdb.exp (build_id_debug_filename_get): Don't assume newPedro Alves2-1/+6
`regsub' syntax available.
2010-02-17 * gdb.base/shmain.c (main): Remove printf call.Pedro Alves5-22/+29
* gdb.base/sizeof.c (main): Cast return of sizeof to int. * gdb.base/unload.c (main): Make format of fprintf a string literal. Add missing endlines to prints to stderr. * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2010-02-17gdbTom Tromey5-2/+23
* objfiles.c (gdb_bfd_ref): Handle abfd==NULL. gdb/testsuite * gdb.java/jprint.java (jprint.props): New field. * gdb.java/jprint.exp (set_lang_java): Add regression test.
2010-02-17Use tab, not spaces.Pedro Alves1-1/+1
2010-02-17 * gdb.base/charset.exp: Don't assume new `regsub' syntaxPedro Alves2-2/+7
available.
2010-02-17gdb/Jan Kratochvil2-10/+15
* symfile.c (build_section_addr_info_from_objfile): Include sections only if they are SEC_ALLOC or SEC_LOAD.
2010-02-17Use CORE_ADDR instead of ULONGEST on address.H.J. Lu2-2/+8
2010-02-17 H.J. Lu <hongjiu.lu@intel.com> PR shlibs/11293 * solib-svr4.c (enable_break): Check size of CORE_ADDR instead of ULONGEST for address size.
2010-02-17 * NEWS: Add C++ improvements section.Tom Tromey2-1/+18
2010-02-17 * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,Ulrich Weigand2-2/+7
PyThreadState_Swap): Avoid "statement with no effect" warning.
2010-02-17gdb/Jan Kratochvil2-1/+31
* solib-svr4.c (enable_break <target_auxv_search>): New variable addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-172010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+8
Petr HluzĂ­<petr.hluzin@gmail.com> * avr-tdep.c (avr_scan_prologue): Convert an if statement to a gdb_assert. Fix info->size for SIG prologue.
2010-02-17*** empty log message ***gdbadmin1-1/+1
2010-02-16 gdb/testsuite/Daniel Jacobowitz3-11/+22
* gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file creation to support remote host testing.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-4/+13
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail. Recognize "command not found".
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-1/+12
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware single-stepping.
2010-02-16 gdb/Daniel Jacobowitz2-3/+10
* infcmd.c (show_inferior_tty_command): Check for NULL. Correct output message.
2010-02-16 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 testDaniel Jacobowitz2-1/+8
if arguments are not supported.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-2/+7
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to be const or non-const.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-4/+8
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use mi_send_resuming_command to send -exec-continue.
2010-02-16 gdb/Daniel Jacobowitz6-15/+67
* linespec.c (decode_line_1): Handle FILE:FUNCTION even if FUNCTION contains parentheses. Improve removal of a trailing single quote. gdb/testsuite/ * gdb.base/list.exp (test_list_filename_and_function): Add test with single quotes. * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy matching. * gdb.cp/overload.exp: Add tests with filename, function, and quotes. Add KFAIL'd tests for PR gdb/11289.
2010-02-16 gdb/Daniel Jacobowitz2-8/+20
* gcore.c (do_bfd_delete_cleanup): New function. (gcore_command): Use it. Discard the cleanup after success. (gcore_copy_callback): Delete dead code.
2010-02-16 gdb/Daniel Jacobowitz2-5/+8
* symfile.c (addr_info_make_relative): Always use find_lowest_section.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-1/+6
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2010-02-16 gdb/testsuite/Daniel Jacobowitz3-4/+8
* gdb.base/comp-dir/subdir/dummy.txt: New file. * gdb.base/completion.exp: Use comp-dir/subdir instead of creating a temporary directory.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-33/+19
* gdb.base/charset.exp: Use a single regular expression to match show host-charset and show target-charset output.
2010-02-162010-02-16 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla2-0/+12
* NEWS: Added entry for namespace fixes.
2010-02-16*** empty log message ***gdbadmin1-1/+1
2010-02-15 * dwarf2read.c (guess_structure_name): Allocate name on theTom Tromey2-1/+6
objfile obstack.
2010-02-15 * c-typeprint.c (c_type_print_base): Reverse order of test.Tom Tromey2-1/+5
2010-02-15gdb/Jan Kratochvil2-2/+13
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally initialize it from ELF BFD. Extend the prelink condition by it.
2010-02-15gdb/Jan Kratochvil13-47/+76
* defs.h (parse_pid_to_attach): New. * utils.c (parse_pid_to_attach): New. * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid. * gnu-nat.c (gnu_attach): Likewise. * nto-procfs.c (procfs_attach): Likewise. * procfs.c (procfs_attach): Likewise. * windows-nat.c (windows_attach): Likewise. * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy. * inf-ttrace.c (inf_ttrace_attach): Likewise. * remote.c (extended_remote_attach_1): Likewise. New comment on getpid check. gdb/testsuite/ * gdb.base/attach.exp (attach to nonsense is prohibited): Make the "Illegal process-id" expect string more exact. (attach to digits-starting nonsense is prohibited): New.
2010-02-15*** empty log message ***gdbadmin1-1/+1
2010-02-14 * MAINTAINERS: Add myself for write after approval privileges.Masaki Muranaka2-0/+5
2010-02-14*** empty log message ***gdbadmin1-1/+1
2010-02-13gdb/Jan Kratochvil2-1/+8
* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner block.
2010-02-13gdb/Jan Kratochvil4-4/+19
* solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment only if INFO_VERBOSE. gdb/testsuite/ * gdb.base/prelink.exp (set verbose on): New.
2010-02-13Document new gdb_test_timeout global variable.Joel Brobecker2-0/+37
* gdbint.texinfo (Testsuite): New section "Testsuite Configuration", documenting the gdb_test_timeout variable.
2010-02-13 * linux-low.c (linux_supports_tracefork_flag): Document.Doug Evans2-0/+9
(linux_look_up_symbols): Add comment.
2010-02-13*** empty log message ***gdbadmin1-1/+1
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-0/+180
* mi-reverse.exp: New file. Test for reverse option to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction.
2010-02-122010-02-12 Jakob Engblom <jakob@virtutech.com>Michael Snyder2-24/+60
* gdb.texinfo (MI commands): Added documentation of --reverse option to a set of MI commands. Restructured documentation of MI commands --exec-continue to reflect the complexity of reverse execution.
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-8/+70
* mi/mi-main.c: Added the --reverse flag to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction. This is to support reverse execution over the MI interface to gdb.
2010-02-12 gdb/doc/Pedro Alves4-6/+21
* gdb.texinfo (Using the Collected Data): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive. (Tracepoint Packets): Specify that the address range of `QTFrame:range' is inclusive, and that the address range of `QTFrame:outside' is exclusive gdb/ * tracepoint.c (_initialize_tracepoint): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive, in the commands' help strings.
2010-02-12 * gdb.texinfo (GDB/MI Result Records): Clarify ^running.Vladimir Prus2-3/+10
2010-02-12Spurious "dll not found" error messages on x64-windows.Joel Brobecker2-2/+16
* windows-nat.c: Add include of complaints.h. (handle_unload_dll): Change dll-not-found error into a complaint.
2010-02-12 * breakpoint.c (allocate_bp_location): Use bp_loc_other forPedro Alves2-3/+12
bp_tracepoint and bp_fast_tracepoint, not bp_loc_software_breakpoint. (update_global_location_list): Tracepoints are never duplicates of anything.
2010-02-12 * breakpoint.c (break_command_really): Change return type to int.Pedro Alves2-47/+61
Return false if no breakpoint was created, true otherwise. (trace_command): Don't set the tracepoint count if no tracepoint was created. (ftrace_command): Ditto. (create_tracepoint_from_upload): Bail out if the tracepoint wasn't created in the breakpoints table.
2010-02-12*** empty log message ***gdbadmin1-1/+1
2010-02-11gdb/Jan Kratochvil2-1/+18
* solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
2010-02-11 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out ifPedro Alves2-0/+8
the offset value isn't of integral type.