Tom Tromey
6f451e5ec4
gdb
...
* 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-17 22:25:05 +00:00
Pedro Alves
ef801a0e1d
Use tab, not spaces.
2010-02-17 22:09:05 +00:00
Pedro Alves
12d79008ef
* gdb.base/charset.exp: Don't assume new `regsub' syntax
...
available.
2010-02-17 22:05:58 +00:00
Jan Kratochvil
012836ea49
gdb/
...
* symfile.c (build_section_addr_info_from_objfile): Include sections
only if they are SEC_ALLOC or SEC_LOAD.
2010-02-17 20:54:52 +00:00
H.J. Lu
d182d0578f
Use CORE_ADDR instead of ULONGEST on address.
...
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 20:47:08 +00:00
Tom Tromey
4eef138c30
* NEWS: Add C++ improvements section.
2010-02-17 20:08:24 +00:00
Ulrich Weigand
548a926afa
* python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
...
PyThreadState_Swap): Avoid "statement with no effect" warning.
2010-02-17 14:58:54 +00:00
Jan Kratochvil
ad3a0e5b17
gdb/
...
* solib-svr4.c (enable_break <target_auxv_search>): New variable
addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-17 11:37:23 +00:00
Tristan Gingold
243e2c5d0a
2010-02-17 Tristan Gingold <gingold@adacore.com>
...
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 10:39:10 +00:00
gdbadmin
d83a18b6bd
*** empty log message ***
2010-02-17 00:00:03 +00:00
Daniel Jacobowitz
d252f7e5ab
gdb/testsuite/
...
* gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
creation to support remote host testing.
2010-02-16 21:26:48 +00:00
Daniel Jacobowitz
67bdab6cc5
gdb/testsuite/
...
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
Recognize "command not found".
2010-02-16 21:22:46 +00:00
Daniel Jacobowitz
bb3912236d
gdb/testsuite/
...
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
single-stepping.
2010-02-16 21:20:14 +00:00
Daniel Jacobowitz
275f2e57c2
gdb/
...
* infcmd.c (show_inferior_tty_command): Check for NULL.
Correct output message.
2010-02-16 21:18:46 +00:00
Daniel Jacobowitz
70362913a3
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
...
if arguments are not supported.
2010-02-16 21:13:10 +00:00
Daniel Jacobowitz
493f3c00fe
gdb/testsuite/
...
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
be const or non-const.
2010-02-16 21:09:32 +00:00
Daniel Jacobowitz
8034c7498c
gdb/testsuite/
...
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
mi_send_resuming_command to send -exec-continue.
2010-02-16 21:08:10 +00:00
Daniel Jacobowitz
791dfb6488
gdb/
...
* 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 20:51:51 +00:00
Daniel Jacobowitz
14d1346bd3
gdb/
...
* 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 20:48:52 +00:00
Daniel Jacobowitz
e76ab67fec
gdb/
...
* symfile.c (addr_info_make_relative): Always use
find_lowest_section.
2010-02-16 20:28:06 +00:00
Daniel Jacobowitz
7c5fe86876
gdb/testsuite/
...
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2010-02-16 20:23:43 +00:00
Daniel Jacobowitz
fdc498b81c
gdb/testsuite/
...
* 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 20:18:53 +00:00
Daniel Jacobowitz
b519e2a636
gdb/testsuite/
...
* gdb.base/charset.exp: Use a single regular expression to match
show host-charset and show target-charset output.
2010-02-16 20:13:14 +00:00
Sami Wagiaalla
71dee6639e
2010-02-16 Sami Wagiaalla <swagiaal@redhat.com>
...
* NEWS: Added entry for namespace fixes.
2010-02-16 15:52:47 +00:00
gdbadmin
258714574f
*** empty log message ***
2010-02-16 00:00:03 +00:00
Tom Tromey
a9854bd511
* dwarf2read.c (guess_structure_name): Allocate name on the
...
objfile obstack.
2010-02-15 20:48:57 +00:00
Tom Tromey
fd9e29b562
* c-typeprint.c (c_type_print_base): Reverse order of test.
2010-02-15 20:42:28 +00:00
Jan Kratochvil
4e1fc9c971
gdb/
...
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
initialize it from ELF BFD. Extend the prelink condition by it.
2010-02-15 17:37:35 +00:00
Jan Kratochvil
74164c5624
gdb/
...
* 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 17:35:50 +00:00
gdbadmin
338f2a7624
*** empty log message ***
2010-02-15 00:00:02 +00:00
Masaki Muranaka
bf6adea875
* MAINTAINERS: Add myself for write after approval privileges.
2010-02-14 06:50:44 +00:00
gdbadmin
0aa56dbe70
*** empty log message ***
2010-02-14 00:00:03 +00:00
Jan Kratochvil
28f34a8f20
gdb/
...
* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
block.
2010-02-13 13:36:55 +00:00
Jan Kratochvil
701ed6dcfb
gdb/
...
* 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-13 12:02:29 +00:00
Joel Brobecker
c09529e5f8
Document new gdb_test_timeout global variable.
...
* gdbint.texinfo (Testsuite): New section "Testsuite Configuration",
documenting the gdb_test_timeout variable.
2010-02-13 04:57:11 +00:00
Doug Evans
6076632b70
* linux-low.c (linux_supports_tracefork_flag): Document.
...
(linux_look_up_symbols): Add comment.
2010-02-13 01:13:54 +00:00
gdbadmin
bbad93606c
*** empty log message ***
2010-02-13 00:00:33 +00:00
Michael Snyder
fa19b4e579
2010-02-12 Tomas Holmberg <th@virtutech.com>
...
* 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-12 21:39:27 +00:00
Michael Snyder
540aa8e790
2010-02-12 Jakob Engblom <jakob@virtutech.com>
...
* 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-12 21:35:54 +00:00
Michael Snyder
e5829bee48
2010-02-12 Tomas Holmberg <th@virtutech.com>
...
* 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 21:28:25 +00:00
Pedro Alves
081dfbf778
gdb/doc/
...
* 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 16:15:24 +00:00
Vladimir Prus
8e9c5e020f
* gdb.texinfo (GDB/MI Result Records): Clarify ^running.
2010-02-12 10:34:47 +00:00
Joel Brobecker
ecc13e538f
Spurious "dll not found" error messages on x64-windows.
...
* windows-nat.c: Add include of complaints.h.
(handle_unload_dll): Change dll-not-found error into a complaint.
2010-02-12 04:55:15 +00:00
Pedro Alves
15c3d785c3
* breakpoint.c (allocate_bp_location): Use bp_loc_other for
...
bp_tracepoint and bp_fast_tracepoint, not
bp_loc_software_breakpoint.
(update_global_location_list): Tracepoints are never duplicates of
anything.
2010-02-12 01:24:09 +00:00
Pedro Alves
fd9b8c249a
* breakpoint.c (break_command_really): Change return type to int.
...
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 00:47:53 +00:00
gdbadmin
28ed0eccaa
*** empty log message ***
2010-02-12 00:00:03 +00:00
Jan Kratochvil
5c0d192f85
gdb/
...
* solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
2010-02-11 23:07:23 +00:00
Pedro Alves
5d5b640e00
* ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
...
the offset value isn't of integral type.
2010-02-11 23:03:22 +00:00
Jan Kratochvil
e5a0a9048b
gdb/
...
* breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
New.
2010-02-11 22:25:27 +00:00
Pedro Alves
be636754b7
* ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
...
non-subscriptable types.
* valarith.c (binop_types_user_defined_p): New, abstracted out
from ...
(binop_user_defined_p): ... this.
* value.h (binop_types_user_defined_p): Declare.
2010-02-11 21:45:25 +00:00