gdbadmin
bed0165486
*** empty log message ***
2010-02-20 00:00:33 +00:00
Tom Tromey
48ea67a755
* p-typeprint.c (pascal_type_print_varspec_prefix): Update.
...
* m2-typeprint.c (m2_print_type): Update.
* gdbtypes.c (recursive_dump_type): Update.
(copy_type_recursive): Update.
* c-typeprint.c (c_type_print_varspec_prefix): Update.
(c_type_print_base): Update.
* gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG):
Remove.
(struct cplus_struct_type) <ntemplate_args>: Remove.
<struct template_arg>: Remove.
<is_dynamic>: Move earlier.
(TYPE_TEMPLATE_ARGS): Remove.
(TYPE_NTEMPLATE_ARGS): Remove.
(TYPE_TEMPLATE_ARG): Remove.
2010-02-19 22:22:49 +00:00
Tom Tromey
48e32051ca
gdb
...
PR c++/8693, PR c++/9496:
* cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
* c-exp.y (lex_one_token): Rename from yylex. Don't call
write_dollar_variable. Don't try to classify NAME tokens.
(token_and_value): New type.
(token_fifo, popping, name_obstack): New globals.
(classify_name): New function.
(classify_inner_name): Likewise.
(yylex): Likewise.
(VARIABLE): Now has type sval.
(exp : VARIABLE): Call write_dollar_variable.
(qualified_name): Use TYPENAME, not typebase. Add production for
multiple "::" instances.
(variable): Use name_not_typename.
(qualified_type): Remove.
(typebase): Update.
gdb/testsuite
PR c++/8693, PR c++/9496:
* gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
regression tests.
2010-02-19 20:22:03 +00:00
Tom Tromey
629d6a470a
* gdbint.texinfo (Getting Started): Fix @node.
...
(Debugging GDB): Likewise.
2010-02-19 19:14:38 +00:00
Jan Kratochvil
ac9c004837
gdb/testsuite/
...
Fix compatibility with m68k as.
* gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
Use only /* comments */.
2010-02-19 19:14:18 +00:00
Ulrich Weigand
57bb97a492
testsuite/
...
* configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
* configure: Regenerate.
2010-02-19 17:13:21 +00:00
Jan Kratochvil
672d9c23b3
gdb/
...
* symfile.c (addr_info_make_relative): Extend comment. Move SECT to
a more inner block. Initialize ADDR by LOWER_OFFSET only if it was
found by bfd_get_section_by_name.
* symfile.h (struct section_addr_info) <sectindex>: New comment.
2010-02-19 06:19:45 +00:00
Joel Brobecker
bfbf3774fe
* NEWS: Add new "[...] since 7.1" section. Rename the "[...] since
...
7.0 section" into "Changes in 7.1".
2010-02-19 00:35:53 +00:00
gdbadmin
6756b09b9d
Record GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.
2010-02-19 00:21:15 +00:00
gdbadmin
016555d1a6
*** empty log message ***
2010-02-19 00:00:02 +00:00
Pedro Alves
202b96c1a6
2010-02-18 Harald Koenig <H.Koenig@science-computing.de>
...
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
* symfile.c (symfile_map_offsets_to_segments): Fix assertion.
2010-02-18 19:17:00 +00:00
Tom Tromey
de2e518245
* NEWS: Add Python API Improvements section.
2010-02-18 16:36:47 +00:00
Daniel Jacobowitz
7280022eea
* NEWS: Correct typo.
2010-02-18 16:04:32 +00:00
Daniel Jacobowitz
7d1bf85cc5
* gdb.python/py-type.exp: Check for Python support.
2010-02-18 15:27:35 +00:00
gdbadmin
9badf1bc6b
*** empty log message ***
2010-02-18 00:00:03 +00:00
Pedro Alves
061b528517
* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
...
`regsub' syntax available.
2010-02-17 23:07:24 +00:00
Pedro Alves
f8a8bc2ce4
* gdb.base/shmain.c (main): Remove printf call.
...
* 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-17 22:55:40 +00:00
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