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
Tom Tromey
5dbdd470c7
* gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
...
gdb_continue_to_end.
2011-03-09 18:41:31 +00:00
Mark Kettenis
b66e66ee3a
* gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
...
tabs.
2011-03-09 16:54:51 +00:00
Michael Snyder
61adf46486
2011-03-09 Michael Snyder <msnyder@vmware.com>
...
* gdbserver/tracepoint.c: Fix small comment typo.
2011-03-09 15:59:12 +00:00
Pedro Alves
914956173f
gdb/
...
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
2011-03-09 15:01:36 +00:00
Tom Tromey
eb8c062170
* thread.c (restore_selected_frame): Handle frame_level == -1.
...
(make_cleanup_restore_current_thread): Use
get_selected_frame_if_set.
* frame.h (get_selected_frame_if_set): Declare.
* frame.c (get_selected_frame_if_set): New function.
2011-03-09 14:22:09 +00:00
Tom Tromey
eceb0c5f49
* lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
...
parentheses.
(gdb_continue_to_end): Add "allow_extra" parameter. Use
$command.
* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.cp/annota3.exp: Fix regex.
* gdb.cp/annota2.exp: Fix regex.
* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
* gdb.base/call-signal-resume.exp: Revert earlier patch.
* gdb.ada/tasks.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
2011-03-09 14:17:05 +00:00
Pedro Alves
9f37bbcca8
* cli/cli-cmds.c (shell_escape): Use lbasename.
...
* coffread.c (coff_start_symtab): Constify parameter.
(complete_symtab): Constify `name' parameter.
(coff_symtab_read): Constify `filestring' local.
(coff_getfilename): Constify return and `result' local.
Use lbasename.
* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
* linux-fork.c (info_checkpoints_command): Use lbasename.
* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
* minsyms.c (lookup_minimal_symbol): Use lbasename.
* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
* procfs.c (procfs_make_note_section): Use lbasename.
* tui/tui-io.c (printable_part): Constity return and parameter.
Use lbasename.
(print_filename): Constify parameters, and local `s'.
(tui_rl_display_match_list): Constify local `temp'.
2011-03-09 12:48:56 +00:00
Jan Kratochvil
f8de3c55e9
gdb/
...
Revert:
2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix DWARF-3+ DW_AT_accessibility default assumption.
* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
cu->header.version >= 3.
2011-03-09 07:07:55 +00:00
Yao Qi
d9837b00fd
gdb/
...
2011-03-09 Yao Qi <yao@codesourcery.com>
* common/Makefile.in: Remove.
* common/configure: Remove.
* common/configure.ac: Remove.
2011-03-09 06:24:07 +00:00
Yao Qi
e637a4f593
gdb/
...
2011-03-09 Yao Qi <yao@codesourcery.com>
Revert:
2011-02-11 Yao Qi <yao@codesourcery.com>
* common/Makefile.in: Add copyright header.
2011-02-11 Yao Qi <yao@codesourcery.com>
* Makefile.in: Remove signals.o from COMMON_OBS. Link
libcommon.a.
* configure.ac: Add common to sub dir.
* configure: Regenerate.
gdb/gdbserver/
2011-03-09 Yao Qi <yao@codesourcery.com>
Revert:
2011-03-04 Yao Qi <yao@codesourcery.com>
* Makefile.in: Remove GNU make feature --directory.
2011-03-05 Yao Qi <yao@codesourcery.com>
* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
(subdir_do): New make target. Copied from gdb/Makefile.
(maintainer-clean, realclean, distclean, clean): Call corresponding
make targets in common/Makefile.
2011-02-11 Yao Qi <yao@codesourcery.com>
* configure.ac: Call AC_PROG_RANLIB.
* Makefile.in: Remove signals.o from OBS. Link libcommon.a.
* configure: Regenerate.
2011-03-09 06:10:40 +00:00
Maxim Grigoriev
f976a05dc4
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (call0_ret): New function.
(xtensa_skip_prologue): Speed up analysis.
2011-03-09 03:28:36 +00:00
Maxim Grigoriev
57041825ff
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
while executing MI command -data-list-changed-registers.
2011-03-09 02:56:23 +00:00
Maxim Grigoriev
08b9c608aa
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (xtensa_read_register): New function.
(xtensa_write_register): New function.
(xtensa_find_register_by_name): New function.
(xtensa_windowed_frame_cache): Update comments in type description.
(xtensa_frame_cache): Likewise.
(xtensa_window_interrupt_insn): New function.
(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
(xtensa_insn_kind): Add new instructions.
(rwx_special_register): New function.
(call0_classify_opcode): Add new instructions to the analysis.
(a0_saved, a7_saved, a11_saved): New variables.
(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
(execute_l32e): New function.
(execute_s32e): New function.
(xtensa_exception_handler_t): New type.
(execute_code): New function.
(xtensa_window_interrupt_frame_cache): New function to conduct frame
analysis for Xtensa Window Exception handlers.
2011-03-09 02:25:12 +00:00
Maxim Grigoriev
98689b2504
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.c (TX_PS): New.
(windowing_enabled): Update to count for Call0 ABI.
(xtensa_hextochar): New.
(xtensa_init_reggroups): Make algorithm generic.
(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
2011-03-09 00:55:09 +00:00
gdbadmin
221e394aa4
*** empty log message ***
2011-03-09 00:00:32 +00:00
Michael Snyder
3dcabaa8b6
2011-03-08 Michael Snyder <msnyder@vmware.com>
...
* i386-tdep.c (i386_follow_jump): Check return value of
target_read_memory.
(i386_analyze_struct_return): Ditto.
(i386_skip_probe): Ditto.
(i386_match_insn): Ditto.
(i386_skip_noop): Ditto.
(i386_analyze_frame_setup): Ditto.
(i386_analyze_register_saves): Ditto.
(i386_skip_prologue): Ditto.
(i386_skip_main_prologue): Ditto.
2011-03-08 23:08:55 +00:00
Maxim Grigoriev
4d1acb1121
2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
...
* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR) Update.
2011-03-08 23:04:07 +00:00
Michael Snyder
13b3fd9b17
2011-02-27 Michael Snyder <msnyder@vmware.com>
...
* target.c (read_whatever_is_readable): Fix memory leak.
2011-03-08 18:58:54 +00:00
Michael Snyder
d3f323f3d2
2011-03-02 Michael Snyder <msnyder@vmware.com>
...
* i386-tdep.c (i386_process_record): Document fall through.
2011-03-08 18:49:16 +00:00
Jan Kratochvil
421d5c74b4
gdb/
...
Fix DWARF-3+ DW_AT_accessibility default assumption.
* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
cu->header.version >= 3.
2011-03-08 17:54:44 +00:00