gdbadmin
a18470d110
*** empty log message ***
2008-06-20 00:00:33 +00:00
Pierre Muller
17526a8c50
* win32-nat.c (win32_pid_to_str): Use capital T for "Thread".
2008-06-19 06:36:45 +00:00
gdbadmin
dad28c3cb1
*** empty log message ***
2008-06-19 00:00:33 +00:00
Joel Brobecker
59ddf1e792
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
the target cannot run.
2008-06-18 21:30:50 +00:00
Joel Brobecker
ea8eedbe57
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
we're attaching to a running process.
2008-06-18 21:26:07 +00:00
Pierre Muller
7488902c73
* win32-nat.c (handle_load_dll): Give dll name and load address
...
if debug_events is on.
(handle_unload_dll): Likewise.
2008-06-18 06:27:34 +00:00
gdbadmin
a7abbf72b7
*** empty log message ***
2008-06-18 00:00:03 +00:00
gdbadmin
2bcebd8052
*** empty log message ***
2008-06-17 00:00:33 +00:00
gdbadmin
3536d051d0
*** empty log message ***
2008-06-16 00:00:02 +00:00
gdbadmin
8bb4c48c23
*** empty log message ***
2008-06-15 00:00:34 +00:00
gdbadmin
4e23993f94
*** empty log message ***
2008-06-14 00:00:33 +00:00
Vladimir Prus
8f6a8e8417
Don't suppress *running when doing finish.
...
* infcall.c (call_function_by_hand): Set both
suppress_resume_observer and suppress_stop_observer.
* infcmd.c (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
(finish_command_continuation): Clear suppress_stop_observer.
(finish_command): Set suppress_stop_observer.
* inferior.h (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
* infrun.c (normal_stop): Check for suppress_stop_observer.
* thread.c (set_running): Check for suppress_resume_observer.
2008-06-13 20:19:19 +00:00
Vladimir Prus
6ae37fefeb
Robustify mi-simplerun.
...
* gdb.mi/basics.c (main): Add a call to sleep.
* gdb.mi/mi-cli.exp: Adjust for change in line numbers.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
2008-06-13 19:53:42 +00:00
gdbadmin
32500740e2
*** empty log message ***
2008-06-13 00:00:03 +00:00
gdbadmin
1e6e8c4b76
*** empty log message ***
2008-06-12 00:00:33 +00:00
Pierre Muller
4309257cda
* gdbarch.sh (gdbarch_skip_main_prologue): New.
...
* gdbarch.h, gdbarch.c: Regenerate.
* i386-tdep.h (i386_skip_main_prologue): Declare.
* i386-tdep.c (i386_skip_main_prologue): New.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Register
i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch callback.
* symtab.c (find_function_start_sal): When pc points at the "main"
function, call gdbarch_skip_main_prologue.
2008-06-11 22:03:49 +00:00
Daniel Jacobowitz
a4e2ee12f0
* value.c (value_primitive_field): Fetch lazy register values.
2008-06-11 19:59:09 +00:00
Vladimir Prus
b4aa76f032
Fix date in changelog entry
2008-06-11 13:50:55 +00:00
Vladimir Prus
83408de733
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
2008-06-11 13:35:58 +00:00
Pedro Alves
060871df59
* NEWS: Mention support removal of undocumented S AA p PID stop
...
reply packet.
* remote.c (remote_wait): Remove undocumented S AA p PID support.
2008-06-11 12:56:36 +00:00
gdbadmin
3e066ca786
*** empty log message ***
2008-06-11 00:00:05 +00:00
Stan Shebs
336de56d78
2008-06-10 Stan Shebs <stan@codesourcery.com>
...
* MAINTAINERS: Update my affiliation and address.
2008-06-10 18:13:58 +00:00
Andreas Schwab
7949220d00
(print_gdb_version): Don't print final newline.
2008-06-10 11:57:28 +00:00
Vladimir Prus
e1ac332873
Implement *running.
...
* Makefile.in: Update dependencies.
* gdbthread.h (struct thread_info): New field
running_.
(set_running, is_running): New.
* thread.c (set_running, is_running): New.
* inferior.h (suppress_normal_stop_observer): Rename to...
(suppress_run_stop_observers): ..this.
* infcmd.c (suppress_normal_stop_observer): Rename to...
(suppress_run_stop_observers): ..this.
(finish_command_continuation, finish_command): Adjust.
* infcall.c (call_function_by_hand): Adjust.
* infrun.c (normal_stop): Call set_running.
* target.c (target_resume): New. Call set_running.
* target.h (target_resume): Convert from macro to
a function.
* mi/mi-interp.c (mi_on_resume): New.
(mi_interpreter_init): Register mi_on_resume.
2008-06-10 10:23:54 +00:00
Vladimir Prus
f7f9a841a3
Use observers to report stop events in MI.
...
* mi/mi-interp.c (mi_on_normal_stop): New.
(mi_interpreter_init): Register mi_on_normal_stop.
(mi_interpreter_exec_continuation): Remove.
(mi_cmd_interpreter_exec): Don't register the above.
* mi/mi-main.c (captured_mi_execute_command): Don't care
about sync_execution.
(mi_execute_async_cli_command): Don't install continuation. Don't
print *stopped.
(mi_exec_async_cli_cmd_continuation): Remove.
2008-06-10 09:35:09 +00:00
Vladimir Prus
f5871ec07b
Suppress normal stop observer when it's problematic.
...
* inferior.h (suppress_normal_stop_observer): New.
* infcall.c (call_function_by_hand): Disable stop events when
doing function calls.
* infmcd.c (suppress_normal_stop_observer): New.
(finish_command_continuation): Call normal_stop observer
explicitly.
(finish_command): Disable stop events inside proceed.
* infrun.c (normal_stop): Don't call normal stop observer if
suppressed of if multi-step is in progress.
2008-06-10 09:32:05 +00:00
Vladimir Prus
3d3191a6ad
Remove stale code.
...
* infrun.c (finish_command): Don't pass cleanup
to continuation.
(finish_command_continuation): Don't grab cleanup from
the passed data, as we don't use, and cannot, use it anyway.
2008-06-10 09:30:34 +00:00
Vladimir Prus
0b080f5982
Introduce common cleanup for restoring integers.
...
* defs.h (make_cleanup_restore_integer): New declaration.
(struct cleanup): New field free_arg.
(make_my_cleanup_2): New.
* utils.c (restore_integer_closure, restore_integer)
(make_cleanup_restore_integer): New.
(make_my_cleanup): Initialize the free_arg field and
renamed to make_my_cleanup_2.
(do_my_cleanups): Call free_arg.
(discard_cleanups): Call free_arg.
* breakpoint.c (restore_always_inserted_mode): Remove.
(update_breakpoints_after_exec): Use make_cleanup_restore_integer.
2008-06-10 09:29:15 +00:00
gdbadmin
7a9a691200
*** empty log message ***
2008-06-10 00:00:04 +00:00
Doug Evans
b4f62b573f
* remote.c (remote_wait): Include beginning of malformed packet
...
in error output.
2008-06-09 20:43:48 +00:00
Tom Tromey
37cd5d19fe
gdb
...
* completer.c (complete_line): Don't special-case
expression_completer.
(expression_completer): Only pass last word to
location_completer.
* c-exp.y (yylex): Check 'token', not 'operator'.
gdb/testsuite
* gdb.base/completion.exp: New tests for field name completion
with spaces, and field name completion with '->'.
2008-06-09 19:25:15 +00:00
Daniel Jacobowitz
3526781ecf
* configure.ac (build_warnings): Add -Wno-format for mingw.
...
* configure: Regenerated.
2008-06-09 15:03:59 +00:00
gdbadmin
d2f76f2b5e
*** empty log message ***
2008-06-09 00:00:02 +00:00
gdbadmin
0096ff26d4
*** empty log message ***
2008-06-08 00:00:35 +00:00
Daniel Jacobowitz
d001be7a29
* NEWS: Make indentation consistent. Move exec tracing entry out
...
of remote packet list.
2008-06-07 22:21:28 +00:00
gdbadmin
3a1ab8238e
*** empty log message ***
2008-06-07 00:00:03 +00:00
Daniel Jacobowitz
6e23a804c1
* Makefile.in (gdbreplay.o): New rule.
2008-06-06 22:19:50 +00:00
Tom Tromey
65d12d83a5
gdb
...
* value.h (evaluate_subexpression_type, extract_field_op):
Declare.
* printcmd.c (_initialize_printcmd): Use expression_completer for
'p', 'inspect', 'call'.
* parser-defs.h (parse_field_expression): Declare.
* parse.c: Include exceptions.h.
(in_parse_field, expout_last_struct): New globals.
(mark_struct_expression): New function.
(prefixify_expression): Return int.
(prefixify_subexp): Return int. Use expout_last_struct.
(parse_exp_1): Update.
(parse_exp_in_context): Add 'out_subexp' argument. Handle
in_parse_field.
(parse_field_expression): New function.
* expression.h (parse_field_expression): Declare.
(in_parse_field): Likewise.
* eval.c (evaluate_subexpression_type): New function.
(extract_field_op): Likewise.
* completer.h (expression_completer): Declare.
* completer.c (expression_completer): New function.
(count_struct_fields, add_struct_fields): New functions.
* c-exp.y (yyparse): Redefine.
(COMPLETE): New token.
(exp): New productions.
(saw_name_at_eof, last_was_structop): New globals.
(yylex): Return COMPLETE when needed. Recognize in_parse_field.
(c_parse): New function.
* breakpoint.c (_initialize_breakpoint): Use expression_completer
for watch, awatch, and rwatch.
* Makefile.in (parse.o): Depend on exceptions_h.
gdb/testsuite
* gdb.base/break1.c (struct some_struct): New struct.
(values): New global.
* gdb.base/completion.exp: Add field name completion test.
gdb/doc
* gdb.texinfo (Completion): Add field name example.
2008-06-06 20:58:08 +00:00
Joseph Myers
90aa6a4044
* gdbreplay.c (gdbreplay_version): Say gdbreplay in version
...
message, not gdbserver.
2008-06-06 20:38:35 +00:00
Paul Pluzhnikov
ebfe2e3fb6
2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* gdb.cp/call-c.exp: Test for incorrect handling of reference
to pointer.
* gdb.cp/call-c.cc: Likewise.
2008-06-06 18:29:52 +00:00
Paul Pluzhnikov
fed276330d
2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
...
PR gdb/1147
* gdb/valopts.c (find_overload_match): Handle references
to pointers.
2008-06-06 18:29:00 +00:00
Marc Khouzam
fbc5282e75
2008-06-05 Marc Khouzam <marc.khouzam@ericsson.com>
...
* gdb.texinfo (GDB/MI Program Context): Added example
to -exec-arguments
2008-06-06 13:15:43 +00:00
Paul N. Hilfinger
aced2898db
ada_value_assign: Correct big-endian case to take into account the bitsize
...
of the 'from' operand.
2008-06-06 06:48:36 +00:00
Pedro Alves
a2b87ed119
* annotate.h (annotate_thread_changed): Declare.
2008-06-06 02:35:47 +00:00
Nick Roberts
bcf6fc3ae4
*** empty log message ***
2008-06-06 00:41:22 +00:00
Nick Roberts
47741aa56c
(thread_switch): Test for thread-changed annotation.
2008-06-06 00:40:21 +00:00
Nick Roberts
aeac218185
(Multi-threaded Apps): Add entry for thread-changed annotation.
2008-06-06 00:35:16 +00:00
Nick Roberts
b8fa951a9b
* annotate.c (annotate_thread_changed): New function.
...
* thread.c (thread_command) : Use it.
* infrun.c (normal_stop): Use it.
2008-06-06 00:33:52 +00:00
Nick Roberts
3d6d0b9dd5
*** empty log message ***
2008-06-06 00:30:27 +00:00
gdbadmin
e85e8e7c6f
*** empty log message ***
2008-06-06 00:00:03 +00:00