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
Joseph Myers
c16158bc9c
2008-06-05 Vladimir Prus <vladimir@codesourcery.com>
...
Nathan Sidwell <nathan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* acinclude.m4: Include ../config/acx.m4.
* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* main.c (print_gdb_help): Use REPORT_BUGS_TO for bug-reporting
address.
* top.c (print_gdb_version): Use PKGVERSION and REPORT_BUGS_TO.
doc:
2008-06-05 Vladimir Prus <vladimir@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* configure.ac: Include ../../config/acx.m4. Use ACX_PKGVERSION
and ACX_BUGURL.
* configure: Regenerate.
* Makefile.in (PKGVERSION, BUGURL_TEXI): Define.
(GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT.
* gdb.texinfo: Use VERSION_PACKAGE and BUGURL. Remove
mailing-list-specific text about bug reporting unless
BUGURL_DEFAULT.
gdbserver:
2008-06-05 Vladimir Prus <vladimir@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* acinclude.m4: Include ../../config/acx.m4.
* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* Makefile.in (gdbreplay$(EXEEXT)): Add version.o.
* server.c (gdbserver_version): Print PKGVERSION.
(gdbsrever_usage): Add stream parameter. Print REPORT_BUGS_TO.
(main): Adjust gdbserver_usage calls.
* gdbreplay.c (version, host_name): Add declarations.
(gdbreplay_version, gdbreplay_usage): New.
(main): Accept --version and --help options.
2008-06-05 22:36:57 +00:00
Pedro Alves
75c9938534
Replace 'target async' by 'maintenance set remote-async' and
...
'target remote' combination.
* remote.c (remote_async_wait): Merge into remote_wait, and
remove.
(remote_async_permitted, remote_async_permitted_set): New
variables.
(set_maintenance_remote_async_permitted)
(show_maintenance_remote_async_permitted): New functions.
(remote_async_ops, extended_async_remote_ops): Delete.
(remote_async_open, extended_remote_async_open): Delete.
(remote_open_1): Drop async_p parameter. Update callers. Replace
async_p with remote_async_permitted checks.
(extended_async_remote_attach): Delete.
(remote_resume, remote_async_resume): Merge and leave remote_resume.
(remote_async_terminal_inferior): Rename to...
(remote_terminal_inferior): ... this, and add
remote_async_termitted check.
(remote_async_terminal_ours): Rename to...
(remote_terminal_ours): ... this, and add remote_async_termitted
check.
(remote_wait, remote_async_wait): Merge and leave remote_wait
only.
(remote_kill, remote_async_kill): Merge and leave remote_kill
only.
(remote_async_mourn, extended_async_remote_mourn): Delete.
(extended_remote_create_inferior_1): Drop async_p parameter.
Update callers. Always use extended_remote_ops.
(extended_remote_async_create_inferior): Delete.
(remote_return_zero): Delete.
(init_remote_ops): Register remote_can_async_p, remote_async,
remote_async_mask, remote_terminal_inferior and
remote_terminal_ours.
(remote_can_async_p, remote_is_async_p): Check for
remote_async_permitted.
(init_remote_async_ops, init_extended_async_remote_ops): Remove.
(set_remote_cmd): Don't add async and extended-async targets.
(_initialize_remote): Add set/show remote-async maintenance
commands.
gdb/doc/
* gdb.texinfo (-target-select): Remove reference to target async.
(Maintenance Commands): Document "maint set/show remote-async".
2008-06-05 21:35:00 +00:00
Pedro Alves
cf30943b93
* remote.c (kill_kludge): Delete.
...
(remote_wait, remote_async_wait): Don't set it.
(remote_kill, remote_async_kill): Don't do anything with it.
2008-06-05 21:13:58 +00:00
Pedro Alves
49fd4a422b
gdb/
...
* linux-thread-db.c (thread_db_wait): Don't trim event ptid.
testsuite/
* gdb.threads/execl.c, gdb.threads/execl1.c,
gdb.threads/execl.exp: New tests.
2008-06-05 21:03:59 +00:00
Aleksandar Ristovski
2e618c13af
* bcache.c (bcache_data): Call deprecated_bcache_added function.
...
(deprecated_bcache_added): New function name. Body of function
bcache_data is used here with the addition of 'added' argument.
* bcache.h (deprecated_bcache_added): New function.
* symfile.c (add_psymbol_to_bcache): New helper function, takes part of
work from add_psymbol_to_list - initialises partial symbol and stashes
it in objfile's cache.
(append_psymbol_to_list): New helper function, takes other part of
work from add_psymbol_to_list - adds partial symbol to the given list.
(add_psymbol_to_list): Call helper functions instead of doing work
here. If adding to global list, do not duplicate partial symbols in the
partial symtab.
2008-06-05 19:21:55 +00:00
Aleksandar Ristovski
8a34ac3f58
* gdb.cp/exception.exp: Activate test, make it work with pending
...
catchpoints.
2008-06-05 18:45:37 +00:00
Jan Kratochvil
86ae69ef81
* dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
2008-06-05 18:37:17 +00:00
Aleksandar Ristovski
c0b37c48d0
* breakpoint.c (print_exception_catchpoint): Put 'exception' back to
...
'exception caught|thrown' message.
2008-06-05 18:31:53 +00:00
Jan Kratochvil
1e3a102aba
* Makefile.in: Update dependencies.
...
* dwarf2expr.c: New include "gdb_assert.h".
(new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH.
(dwarf_expr_eval): Sanity check the RECURSION_DEPTH count.
(execute_stack_op): Error out on too large RECURSION_DEPTH.
Increase/decrease RECURSION_DEPTH around the function.
2008-06-05 18:25:30 +00:00
Daniel Jacobowitz
8d38543126
* remote.c (get_offsets): Handle a single segment.
...
* symfile.c (symfile_map_offsets_to_segments): Allow more bases
than segments.
2008-06-05 16:17:54 +00:00
gdbadmin
b32ba39038
*** empty log message ***
2008-06-05 00:00:32 +00:00
Marc Khouzam
1763a38854
2008-06-04 Marc Khouzam <marc.khouzam@ericsson.com>
...
* gdb.texinfo (GDB/MI File Transfer Commands): Typo
in -target-file-get section.
2008-06-04 23:24:19 +00:00
Daniel Jacobowitz
aeb75bf598
* linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.
...
(arm_breakpoint_at): Handle Thumb.
(the_low_target): Add comment.
2008-06-04 19:51:51 +00:00
gdbadmin
73e752baef
*** empty log message ***
2008-06-04 00:00:35 +00:00
Daniel Jacobowitz
93a57060b7
* solib-svr4.c (struct lm_info): Add lm_addr.
...
(main_lm_addr): New.
(svr4_default_sos): Set lm_addr.
(svr4_current_sos): Set lm_addr and main_lm_addr.
(svr4_fetch_objfile_link_map): Rewrite.
(svr4_clear_solib): Clear main_lm_addr.
2008-06-03 12:59:37 +00:00
Joseph Myers
609ba7801a
2008-06-03 Michael Snyder <msnyder@redhat.com>
...
Joseph Myers <joseph@codesourcery.com>
* mips-tdep.c (mips_eabi_return_value): Replace stub that always
returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2008-06-03 10:53:34 +00:00
gdbadmin
7317d33400
*** empty log message ***
2008-06-03 00:00:33 +00:00
Joel Brobecker
c95f502610
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.
2008-06-02 16:06:52 +00:00
Joel Brobecker
e4d8bc0898
* m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.
2008-06-02 16:05:57 +00:00
Joel Brobecker
40adab5634
* rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do not
...
treat pointers in data space as function descriptors if the
target address is also in the data space.
2008-06-02 03:12:33 +00:00
gdbadmin
4e53207b52
*** empty log message ***
2008-06-02 00:00:06 +00:00
gdbadmin
e932e889d7
*** empty log message ***
2008-06-01 00:00:03 +00:00
gdbadmin
7895b093f6
*** empty log message ***
2008-05-31 00:00:32 +00:00
Joel Brobecker
bfd66dd95a
* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
...
the trad-frame register value for the SP register.
2008-05-30 17:03:55 +00:00
gdbadmin
c2760c3517
*** empty log message ***
2008-05-30 00:00:34 +00:00
Mark Kettenis
7ea566bee7
* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.
2008-05-29 15:51:37 +00:00
Ulrich Weigand
76b233ddaa
* linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer.
2008-05-29 11:53:12 +00:00
Joel Brobecker
fcac911af1
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristic
...
that identifies function descriptors outside of the .opd section.
2008-05-29 00:19:33 +00:00
gdbadmin
0ee2386550
*** empty log message ***
2008-05-29 00:00:02 +00:00
Aleksandar Ristovski
ade9271736
* breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' for
...
temporary catchpoints. In MI add missing fields 'reason', 'disp',
'bkptno'.
(print_mention_exception_catchpoint): Add 'Temporary' for temporary
catchpoints.
(handle_gnu_v3_exceptions): Use tempflag.
2008-05-28 14:04:21 +00:00
Vladimir Prus
f7f9ae2c16
Refactor varobj_update interface.
...
* varobj.c (varobj_update): Report changes as vector. Also
return not just a list of varobj, but a list of special structures
that tell what exactly has changed.
* varobj.h (enum varobj_update_error): Rename to
varobj_scope_status.
(struct varobj_update_result_t): New.
(varobj_update): Adjust prototype.
* mi/mi-cmd-var.c: Adjust for changes.
2008-05-28 12:06:36 +00:00
Vladimir Prus
ea56f9c264
* varobj.c (varobj_update): Fix comment typo.
...
Fix indentation.
2008-05-28 06:49:56 +00:00
gdbadmin
fbcb6f2902
*** empty log message ***
2008-05-28 00:00:02 +00:00