gdbadmin
914a741b23
*** empty log message ***
2011-04-14 00:00:33 +00:00
Edjunior Barbosa Machado
3363d018fd
* gdb.base/gdb1090.exp: Change breakpoint location to read the
...
content of 's24' correctly (avoiding "optimized out").
* gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2011-04-13 21:12:20 +00:00
Jan Kratochvil
2878145693
gdb/testsuite/
...
* lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2011-04-13 20:31:01 +00:00
Edjunior Barbosa Machado
51bf255367
2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
...
* MAINTAINERS: Add myself for write after approval privileges.
2011-04-13 19:24:16 +00:00
Marek Polacek
d242658c52
Update the gdb/ChangeLog.
2011-04-13 18:43:17 +00:00
Marek Polacek
46bdd29eb1
Add mpolacek to gdb/MAINTAINERS.
2011-04-13 18:33:17 +00:00
Thiago Jung Bauermann
4a4106caaf
gdb/
...
* breakpoint.c (watch_command_1): Remove colon from exp_string.
gdb/testsuite/
* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
expect a colon in watch -location output.
2011-04-13 18:32:25 +00:00
Thiago Jung Bauermann
26063d4963
* breakpoint.c (save_breakpoints): Verify whether
...
breakpoint_ops.print_recreate is defined before calling it.
2011-04-13 18:28:27 +00:00
Jan Kratochvil
d26ccb4f7b
gdb/testsuite/
...
* gdb.base/commands.exp (redefine_backtrace_test): Fix race.
New testcase `expect response to define backtrace'. Also remove
redundant `default' block.
2011-04-13 15:54:05 +00:00
gdbadmin
dd948edaf7
*** empty log message ***
2011-04-13 00:00:33 +00:00
gdbadmin
f390c311be
*** empty log message ***
2011-04-12 00:00:33 +00:00
Jan Kratochvil
e1ab1f9c66
gdb/testsuite/
...
* gdb.python/py-prettyprint.c (struct hint_error): New.
(main): New variable hint_error.
* gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
"print hint_error".
* gdb.python/py-prettyprint.py (class pp_hint_error): New.
(register_pretty_printers): Register it.
2011-04-11 17:40:41 +00:00
Gary Benson
7782b183cb
2011-04-11 Gary Benson <gbenson@redhat.com>
...
Fix failure with --enable-maintainer-mode.
* Makefile.in (aclocal_m4_deps): Updated gnulib dependencies.
2011-04-11 13:23:08 +00:00
gdbadmin
6edcf5b8e0
*** empty log message ***
2011-04-11 00:00:33 +00:00
gdbadmin
f6b205ea1a
*** empty log message ***
2011-04-10 00:00:02 +00:00
Jan Kratochvil
e8930875fb
gdb/
...
Code cleanup.
* symtab.c (search_symbols): Reorder the KIND description in the
function comment. Remove the unused 4th element of types, types2,
types3 and types4. New gdb_assert on KIND.
(symtab_symbol_info): Remove the unused 4th element of classnames.
New gdb_assert on KIND.
* symtab.h (enum search_domain): New warning in the enum comment.
Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and
TYPES_DOMAIN.
2011-04-09 19:35:11 +00:00
Jan Kratochvil
b4f2f049b1
gdb/
...
Fix crash of gdb save-index on a STABS file.
* dwarf2read.c (write_psymtabs_to_index): Return also on no
PSYMTABS_ADDRMAP.
2011-04-09 15:20:38 +00:00
Jan Kratochvil
60d5a603bb
gdb/
...
Fix DW_AT_accessibility compatibility with gcc-4.6+.
* dwarf2read.c: Include ctype.h.
(producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
functions.
(dwarf2_add_field): Fix new_field->accessibility by calling
dwarf2_default_access_attribute. Restructure setting accessibility
vs. virtuality.
(dwarf2_add_member_fn): New variable accessibility. Fix fnp
is_private and is_protected by calling
dwarf2_default_access_attribute.
2011-04-09 11:15:29 +00:00
gdbadmin
ac747c9c73
*** empty log message ***
2011-04-09 00:00:03 +00:00
Kevin Buettner
e0f68161fc
* rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason
...
to the initialization.
2011-04-08 21:46:29 +00:00
Steve Ellcey
2e1aae4385
2011-04-08 Steve Ellcey <sje@cup.hp.com>
...
* Add default_frame_unwind_stop_reason value to libunwind_frame_unwind
initalization.
2011-04-08 16:16:41 +00:00
gdbadmin
e6cf8e902d
*** empty log message ***
2011-04-08 00:00:33 +00:00
Pierre Muller
812394259c
Remove support for old Cygwin 1.5 versions.
...
* win32-low.c (win32_create_inferior): Use new cygwin_path_list
function to avoid warning.
(win32_add_one_solib): Use cygwin_conv_path function to avoid
warning.
2011-04-07 23:59:59 +00:00
Pierre Muller
c6ca3dab4a
Remove support for old Cygwin 1.5 versions.
...
* remote-fileio.c: Remove macros used to emulate new cygwin_conv_path
function on old Cygwin version.
* windows-nat.c: Remove cygwin version check and always define
__USEWIDE for Cygwin compilation.
2011-04-07 22:24:17 +00:00
Yao Qi
bd18283a08
2011-04-07 Yao Qi <yao@codesourcery.com>
...
* arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN
and TO.
* arm-tdep.c (cleanup_svc): Handle variable instruction size.
(arm_copy_svc): Remove parameters INSN and TO.
(decode_svc_copro): Update caller.
* arm-tdep.h (struct displaced_step_closure): Remove parameters
from function pointer `copy_svc_os'.
2011-04-07 04:18:02 +00:00
Yao Qi
8c8dba6d3d
* arm-tdep.c (cleanup_branch): Set a correct return address in
...
LR for ARM and Thumb.
2011-04-07 03:42:51 +00:00
gdbadmin
9d20f9eaf9
*** empty log message ***
2011-04-07 00:00:03 +00:00
Jan Kratochvil
59d7bcaf18
gdb/
...
Code cleanup.
* dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT.
* dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT
in the function comment, a new note on values compatibility.
* minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT.
* symtab.h (SYMBOL_HASH_NEXT): New.
2011-04-06 19:50:05 +00:00
Thiago Jung Bauermann
e7db58eade
* ppc-linux-nat.c (check_condition): Add len output parameter.
...
Set it based on the memory region referenced in the condition
expression. Update all callers.
2011-04-06 03:24:24 +00:00
Jan Kratochvil
9f743ef6ff
gdb/
...
Fix crash regression on systems featuring .gdb_index.
* objfiles.c (free_objfile): Move the
forget_cached_source_info_for_objfile call earlier. Comment it.
Extend the comment for objfile_free_data.
2011-04-06 00:08:12 +00:00
Jan Kratochvil
9182c5bc25
gdb/
...
Fix regression of displaying the debug format.
* buildsym.c (end_symtab): Set symtab's debugformat and producer from
subfile.
2011-04-06 00:07:06 +00:00
gdbadmin
50a57b5412
*** empty log message ***
2011-04-06 00:00:33 +00:00
gdbadmin
cdf0c7ce6c
*** empty log message ***
2011-04-05 00:00:05 +00:00
Tom Tromey
04bd08de86
* cli/cli-interp.c (struct captured_execute_command_args):
...
Remove.
(do_captured_execute_command): Remove.
(safe_execute_command): Use TRY_CATCH.
* cli/cli-script.c (struct wrapped_read_command_file_args):
Remove.
(wrapped_read_command_file): Remove.
(script_from_file): Use TRY_CATCH.
* exceptions.c (catch_exception): Remove.
* exceptions.h (catch_exception): Remove.
(deprecated_throw_reason): Update comment.
* mi/mi-main.c (captured_mi_execute_command): Change 'data'
argument to 'context'.
(mi_execute_command): Use TRY_CATCH.
* remote.c (struct start_remote_args): Remove.
(remote_start_remote): Update; change arguments.
(remote_open_1): Use TRY_CATCH.
2011-04-04 18:13:05 +00:00
Tom Tromey
58438ac187
* tracepoint.c (scope_info): Update.
...
* symtab.c (decode_line_spec): Update.
* python/python.c (gdbpy_decode_line): Update.
* linespec.h (decode_line_1): Update.
* linespec.c (decode_line_1): Remove 'not_found_ptr' argument.
(decode_compound, find_method, symtab_from_filename)
(decode_variable): Likewise.
* cli/cli-cmds.c (edit_command): Update.
(list_command): Update.
* breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr'
argument.
(create_breakpoint): Update.
(until_break_command): Update.
(addr_string_to_sals): Update.
(decode_line_spec_1): Update.
2011-04-04 17:41:07 +00:00
Tom Tromey
b78a6381e0
* breakpoint.c (struct captured_parse_breakpoint_args): Remove.
...
(do_captured_parse_breakpoint): Remove.
(create_breakpoint): `e' is now volatile. Remove `parse_args'.
Use TRY_CATCH directly.
2011-04-04 15:22:51 +00:00
Tom Tromey
00174a8637
* symtab.h (free_symtab): Remove.
...
(forget_cached_source_info_for_objfile): Declare.
* symmisc.c (free_symtab): Remove.
* source.c (forget_cached_source_info_for_objfile): New function.
(forget_cached_source_info): Use it.
* objfiles.c (free_objfile): Simplify check before calling
clear_current_source_symtab_and_line. Call
forget_cached_source_info_for_objfile.
2011-04-04 15:19:59 +00:00
Tom Tromey
30cc903e7c
* mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack.
...
(new_symtab): Don't set `free_code' on symtab.
(new_linetable): Properly handle size==0.
* symtab.h (struct symtab) <free_code, free_func>: Remove.
* symmisc.c (free_symtab): Don't free the linetable. Don't call
free_func.
* jv-lang.c (struct jv_per_objfile_data): New.
(jv_per_objfile_free): Free the data.
(get_dynamics_objfile): Allocate a jv_per_objfile_data.
(get_java_class_symtab): Set the `dict' field on the
jv_per_objfile_data.
(free_class_block): Remove.
* buildsym.c (end_symtab): Don't set `free_code' or `free_func' on
the symtab.
2011-04-04 15:11:19 +00:00
Tom Tromey
0c2e60193c
gdb
...
* symfile.c (reread_symbols): Update.
* objfiles.h (struct objfile) <cp_namespace_symtab>: Remove
field.
* objfiles.c (allocate_objfile): Update.
* cp-support.h (cp_check_possible_namespace_symbols): Don't
declare.
* cp-namespace.c (lookup_symbol_file): Don't call
lookup_possible_namespace_symbol.
(initialize_namespace_symtab, get_possible_namespace_block)
(free_namespace_block, cp_check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol): Remove.
(maintenance_cplus_namespace): Replace with notice.
(_initialize_cp_namespace): Deprecate `maint cplus namespace'.
gdb/testsuite
* gdb.cp/maint.exp (test_help): Update.
(test_namespace): Likewise.
2011-04-04 14:37:17 +00:00
Tom Tromey
554d387d4c
* xcoffread.c (read_xcoff_symtab): Make `debugfmt' const.
...
* symtab.h (struct symtab) <producer, debugformat>: Now const.
* symmisc.c (free_symtab): Don't free debugformat.
* buildsym.h (struct subfile) <producer, debugformat>: Now const.
(record_debugformat, record_producer): Document.
* buildsym.c (end_symtab): Don't save debugformat and producer
names on obstack.
(end_symtab): Don't free debugformat and producer fields.
(record_debugformat): Don't call xstrdup.
(record_producer): Likewise.
2011-04-04 14:29:27 +00:00
Tom Tromey
d4d4db8a72
* source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code.
...
(source_line_charpos, source_charpos_line): Remove.
2011-04-04 14:18:11 +00:00
Tom Tromey
8903c50da7
* symtab.h (domain_enum): Split in two...
...
(enum search_domain): New.
(search_symbols): Update.
* symtab.c (print_symbol_info, symtab_symbol_info): Remove
redundant declarations.
(search_symbols): Change 'kind' argument to search_domain.
Update.
(print_symbol_info): Likewise.
(symtab_symbol_info): Likewise.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: Change type of 'kind' argument.
<expand_symtabs_matching>: Likewise.
* psymtab.c (pre_expand_symtabs_matching_psymtabs): Update.
(expand_symtabs_matching_via_partial): Update.
* dwarf2read.c (dw2_pre_expand_symtabs_matching): Update.
(dw2_expand_symtabs_for_function): Update.
* block.h: Moved anonymous enum...
* defs.h (enum block_enum): ... here. Now named.
2011-04-04 14:10:12 +00:00
gdbadmin
ddde48d4f4
*** empty log message ***
2011-04-04 00:00:03 +00:00
Joel Brobecker
d6e00af685
Update NEWS after gdb-7.3 branch creation.
...
gdb/ChangeLog:
* NEWS: Create a new section for the next release branch.
Rename the section of the current branch, now that it has
been cut.
2011-04-03 16:55:15 +00:00
gdbadmin
d9351f5f22
Record GDB 7.3 branch creation. Bump version number to 7.3.50.20110403-cvs.
2011-04-03 16:31:21 +00:00
gdbadmin
68e97610ad
*** empty log message ***
2011-04-03 00:00:32 +00:00
Joel Brobecker
4368ebebd8
Fix gdb.info build error (bad @menu entry)
...
gdb/doc/ChangeLog:
* gdb.texinfo (GDB/MI Output Records): Fix menu entry for
"GDB/MI Ada Exception Information" node.
2011-04-02 04:31:43 +00:00
gdbadmin
56198f2575
*** empty log message ***
2011-04-02 00:00:33 +00:00
Ulrich Weigand
2b9e5ea604
* arm-tdep.c (arm_gdbarch_init): Enfore correct register number
...
for "fpscr" in target description.
2011-04-01 19:38:15 +00:00
Jan Kratochvil
0cf03b497a
gdb/
...
* dwarf2read.c (find_slot_in_mapped_hash): New variable back_to,
initialize it. Delay HASH initialization. Strip the part after open
parenthesis for languages with qualifiers. Call do_cleanups.
2011-04-01 17:46:44 +00:00