Andreas Tobler
efeff6cf14
2011-03-15 Andreas Tobler <andreast@fgznet.ch>
...
* MAINTAINERS: Add myself for write after approval privileges.
2011-03-15 21:01:44 +00:00
Michael Snyder
f3df5b084e
2011-03-15 Michael Snyder <msnyder@vmware.com>
...
* frame.c (find_frame_sal): Assert sym is not null.
2011-03-15 19:28:59 +00:00
Michael Snyder
13f6513cd4
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
...
* dbxread.c (process_one_symbol): Assert 'name' is not null.
2011-03-15 19:03:52 +00:00
Michael Snyder
50412521e8
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
...
* objc-lang.c (selectors_info): Check strchr for null result.
2011-03-15 18:07:34 +00:00
Michael Snyder
681c238c33
2011-03-04 Michael Snyder <msnyder@vmware.com>
...
* stabsread.c (define_symbol): Guard against bad stabstring input.
2011-03-15 17:54:27 +00:00
Phil Muldoon
959e74695a
2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
...
* lib/gdb.exp (gdb_unload): Add another termination case.
2011-03-15 16:41:42 +00:00
Pierre Muller
6ced15815d
Remove trailing spaces and tabulations from pascal language
...
support sources.
p-exp.y: Ditto.
p-lang.c: Ditto.
p-lang.h: Ditto.
p-valprint.c: Ditto.
2011-03-15 16:00:56 +00:00
Jan Kratochvil
9373cf2619
gdb/
...
* dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher
than LOW. Comment it.
(read_partial_die): Call complaint for inappropriate zero LOWPC or
HIGHPC not strictly higher than LOWPC.
gdb/testsuite/
* gdb.dwarf2/dw2-empty-pc-range.S: New file.
* gdb.dwarf2/dw2-empty-pc-range.exp: New file.
* gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
Provide a stub byte there.
(DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
DW_AT_entry_pc.
(dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2011-03-15 15:57:12 +00:00
Pierre Muller
9a1edae687
Fix formatting of function declarations returning a pointer in
...
previous commit.
* varobj.c (varobj_add_child): Ditto.
* hppa-tdep.h (hppa_init_objfile_priv_data): Ditto.
* inferior.h (get_displaced_step_closure_by_addr): Ditto.
2011-03-15 15:52:09 +00:00
Ulrich Weigand
24e9cda068
gdb/
...
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support
for the "generic" vector ABI used with GCC 4.3 and later.
(ppc64_sysv_abi_return_value): Likewise.
gdb/testsuite:
* gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
using a GCC 4.1 or 4.2 compiler. Add an additional test variant
"generic ABI, auto".
(altivec_abi_tests): Accept vectors returned by reference.
2011-03-15 14:42:34 +00:00
Ulrich Weigand
81b4675a00
* infcall.c (call_function_by_hand): Function return value is
...
always a non_lval, even when using struct_return.
2011-03-15 14:40:22 +00:00
Pedro Alves
c917473769
gdb/
...
* printcmd.c (ALL_DISPLAYS_SAFE): New.
(map_display_numbers): New.
(do_delete_display): New.
(undisplay_command): Use map_display_numbers.
(do_enable_disable_display): New.
(enable_disable_display_command): New function.
(enable_display): Delete.
(enable_display_command): New.
(disable_display_command): Reimplement.
(_initialize_printcmd): Adjust "enable display" command to use
`enable_display_command' as callback.
gdb/doc/
* gdb.texinfo (Auto Display) <undisplay, enable display, disable
display>: Explain that the commands accept number ranges.
2011-03-15 14:05:38 +00:00
gdbadmin
fc21d55679
*** empty log message ***
2011-03-15 00:00:03 +00:00
Phil Muldoon
350c6c6519
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
...
* NEWS: Add Python breakpoint 'stop' operation.
2011-03-14 21:45:21 +00:00
Michael Snyder
348af9f72c
Fix earlier changelog errors.
2011-03-14 21:33:24 +00:00
Michael Snyder
588eebeeea
2011-03-14 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/hostio.c (handle_close): Remove unnecessary null test.
2011-03-14 21:26:24 +00:00
Phil Muldoon
824446ad10
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
...
* NEWS: Delete duplicate entry. Fix typo.
2011-03-14 17:48:54 +00:00
Pierre Muller
2021ad3a8c
Fix ARI warning about function names in first column.
...
Put prototype declaration on same line as return type.
* objc-exp.y: Ditto.
* p-exp.y: Ditto.
* python/py-stopevent.h: Ditto.
For long function names, split parameters to allow function name
on same line as return type.
* solib-pa64.c: Ditto.
* varobj.c: Ditto.
* varobj.h: Ditto.
For long function declaration, use single line.
* hppa-tdep.h: Ditto.
* inferior.h: Ditto.
2011-03-14 16:55:04 +00:00
Phil Muldoon
7371cf6d8d
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
...
* gdb.texinfo (Breakpoints In Python): Add description and
example
of Python stop function operation.
2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: Add Python stop operations
tests.
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
* python/python.h: Declare gdbpy_should_stop and
gdbpy_breakpoint_has_py_cond.
* python/python.c: Add python.h to includes. Remove
python.h from
HAVE_PYTHON definition
(gdbpy_should_stop): New dummy function.
(gdbpy_breakpoint_has_py_cond): New dummy function.
* python/py-breakpoint.c (bppy_init): Rewrite to allow
sub-classing capabilities.
(gdbpy_should_stop): New function.
(gdbpy_breakpoint_has_py_cond): New function.
(local_setattro): New function.
* breakpoint.c (condition_command): Add check for Python
'stop'
operation.
(bpstat_check_breakpoint_conditions): Execute Python
'stop'
operation function as part of stop/continue tests.
2011-03-14 16:09:55 +00:00
Tom Tromey
37b50a69d6
PR gdb/12576:
...
* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
(needs_frame_dwarf_call): Likewise.
2011-03-14 15:58:56 +00:00
Pierre Muller
eeae04df52
Fix ARI warning about functions without parameters that do not
...
use (void).
* breakpoint.c (all_tracepoints): Replace () by (void).
* f-exp.y (match_string_literal): Ditto.
(yylex): Ditto.
* m2-exp.y (yylex): Ditto.
* mep-tdep.c (current_me_module): Ditto.
(current_options): Ditto.
(current_cop_data_bus_width): Ditto.
(current_cr_names): Ditto.
(current_cr_is_float): Ditto.
(current_ccr_names): Ditto.
* objc-exp.y (yylex): Ditto.
* p-exp.y (yylex): Ditto.
* remote.c (send_interrupt_sequence): Ditto.
* tracepoint.c (current_trace_status): Ditto.
* python/py-evts.c (gdbpy_initialize_py_events): Ditto.
* python/py-prettyprint.c (push_dummy_python_frame): Ditto.
2011-03-14 15:43:51 +00:00
gdbadmin
20453c56b1
*** empty log message ***
2011-03-14 00:01:03 +00:00
Ulrich Weigand
ce77046a68
* gdb.python/py-section-script.exp: Skip test if no Python support.
2011-03-13 13:39:17 +00:00
Ulrich Weigand
176400c353
* gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2011-03-13 01:07:02 +00:00
gdbadmin
6e56eaa58c
*** empty log message ***
2011-03-13 00:00:33 +00:00
Michael Snyder
1427fe5e74
2011-03-11 Michael Snyder <msnyder@vmware.com>
...
* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
2011-03-12 22:59:24 +00:00
gdbadmin
dbc6760729
*** empty log message ***
2011-03-12 00:00:03 +00:00
Michael Snyder
60bc018fc6
2011-03-11 Michael Snyder <msnyder@vmware.com>
...
* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
(delete_async_event_handler): Ditto.
2011-03-11 22:31:44 +00:00
Michael Snyder
f3be5b6431
2011-03-11 Michael Snyder <msnyder@vmware.com>
...
* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
2011-03-11 22:01:30 +00:00
Michael Snyder
4c2d572468
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
2011-03-11 21:34:34 +00:00
Michael Snyder
6dc3565dc4
2011-03-11 Michael Snyder <msnyder@vmware.com>
...
* top.c (set_verbose): Assert showcmd was found.
2011-03-11 20:38:57 +00:00
Maxim Grigoriev
4e6ca6d54b
2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (warning_once): Correct style issues.
2011-03-11 18:37:45 +00:00
Yao Qi
815a83e48e
2011-03-11 Yao Qi <yao@codesourcery.com>
...
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
2011-03-11 14:48:55 +00:00
Andreas Schwab
f2eb0bc849
* common/aclocal.m4: Remove.
2011-03-11 10:11:36 +00:00
Maxim Grigoriev
b801de475c
2011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
(xtensa_write_register, xtensa_read_register): Likewise.
(xtensa_hextochar): Removed.
(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
2011-03-11 02:33:27 +00:00
Maxim Grigoriev
c2a6b3901e
Correct bad formatting in the comments. Two spaces must follow '.'.
2011-03-11 00:26:50 +00:00
Maxim Grigoriev
dbab50deda
2011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
(xtensa_call0_frame_cache_t): Update comments. New fields added.
(xtensa_alloc_frame_cache): Add initialization for new fields.
(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
(warning_once): New function.
(xtensa_insn_kind): New item c0opc_and.
(call0_classify_opcode): Add the case for AND instruction.
(call0_track_op): Change arguments. New local variable litbase. Add the
case to handle c0opc_and. Update algorithms for c0opc_mov, c0opc_l32r,
c0opc_s32i to take into account dynamic stack adjustments in prologue.
Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
(call0_analyze_prologue): Update the comments. Change arguments.
Add the variety of updates to handle extended prologues, which now can
conduct dynamic stack adjustments.
(call0_frame_cache): Likewise.
(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
2011-03-11 00:21:42 +00:00
gdbadmin
a00888a47b
*** empty log message ***
2011-03-11 00:00:33 +00:00
Michael Snyder
c96d965cf2
Revert previous change.
2011-03-10 20:25:44 +00:00
Michael Snyder
00b8699cdc
2011-03-01 Michael Snyder <msnyder@vmware.com>
...
* p-typeprint.c (pascal_type_print_method_args): Don't use
pointer until after null-check.
2011-03-10 20:24:27 +00:00
Michael Snyder
f8f67713c0
2011-02-28 Michael Snyder <msnyder@vmware.com>
...
* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
(cmd_qtframe): Ditto.
(cmd_qtbuffer): Ditto.
(cmd_bigqtbuffer): Ditto.
2011-03-10 20:21:14 +00:00
Michael Snyder
4f269b12df
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
loop variable.
2011-03-10 20:18:42 +00:00
Michael Snyder
b2c0445299
2011-03-10 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/server.c (handle_v_run): Free alloced buffer on early
return.
2011-03-10 20:09:18 +00:00
Tom Tromey
197f0a605d
* tracepoint.c (trace_actions_command): Update.
...
* thread.c (thread_apply_command): Update.
* reverse.c (delete_bookmark_command): Update.
(bookmarks_info): Update.
* printcmd.c (undisplay_command): Update.
* memattr.c (mem_enable_command): Update.
(mem_disable_command): Update.
(mem_delete_command): Update.
* inferior.c (detach_inferior_command): Update.
(kill_inferior_command): Update.
(remove_inferior_command): Update.
* cli/cli-utils.h (struct get_number_or_range_state): New.
(init_number_or_range): Declare.
(get_number_or_range): Update.
* cli/cli-utils.c (init_number_or_range): New function.
(get_number_or_range): Change 'pp' parameter to 'state'. Remove
static variables.
(number_is_in_list): Update.
* breakpoint.h (get_tracepoint_by_number): Update.
* breakpoint.c (map_breakpoint_numbers): Update for change to
get_number_or_range.
(find_location_by_number): Use get_number, not
get_number_or_range.
(trace_pass_set_count): New function.
(trace_pass_command): Update for change to get_number_or_range.
Rework loop logic.
(get_tracepoint_by_number): Remove 'multi_p' parameter; add
'state' parameter.
2011-03-10 18:33:59 +00:00
Phil Muldoon
ecec24e64a
2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
...
* python/py-param.c (add_setshow_generic): Add set/show callback
parameters. Register Python object context.
(get_show_value): New function.
(get_set_value): New function.
(call_doc_function): New function.
(get_doc_string): Move behind get_show_value/get_set_value.
2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Parameters In Python): Document get_set_string and
get_show_string methods.
2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-parameter.exp: Update tests to the new Python
parameter API. Add "no documentation" test. Add deprecated API
backward compatibility test.
2011-03-10 12:29:08 +00:00
Jan Kratochvil
6d6c6b1f55
gdb/
...
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
2011-03-10 11:29:54 +00:00
Joel Brobecker
43f70d4cf7
remove subdir_do recursive make command in gdbserver/Makefile.in
...
This fixes:
% [...]/gdbserver/configure
% make distclean
[...]
rm -f amd64-avx.c amd64-avx-linux.c
rm -f i386-mmx.c i386-mmx-linux.c
make[1]: Entering directory `/[...]'
make[1]: *** No rule to make target `subdir_do'. Stop.
make[1]: Leaving directory `[...]'
make: *** [distclean] Error 2
gdb/gdbserver/ChangeLog:
* Makefile.in (maintainer-clean realclean distclean): Remove
"make ... subdir_do" command.
2011-03-10 07:32:02 +00:00
Maxim Grigoriev
68d6df83d0
2011-03-09 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (xtensa_read_register: Add comment.
(xtensa_write_register): Likewise.
(xtensa_hextochar): Add comment and update to match coding conventions.
(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
(execute_l32e, execute_s32e, execute_code): Update comments.
(xtensa_exception_handler_t): Update to match coding conventions.
(xtensa_insn_kind): Likewise.
2011-03-10 00:15:23 +00:00
gdbadmin
2ad9837ed7
*** empty log message ***
2011-03-10 00:00:02 +00:00
Michael Snyder
85c9d6a632
2011-03-09 Michael Snyder <msnyder@vmware.com>
...
* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
2011-03-09 20:31:50 +00:00