gdbadmin
7257bf6d1b
*** empty log message ***
2008-12-28 00:00:04 +00:00
gdbadmin
888d3ede49
*** empty log message ***
2008-12-27 00:00:03 +00:00
Sandra Loosemore
ca2d49e822
2008-12-26 Sandra Loosemore <sandra@codesourcery.com>
...
gdb/
* breakpoint.c (update_watchpoint): Refactor to avoid compiler
warning.
2008-12-26 19:11:53 +00:00
gdbadmin
393be9d096
*** empty log message ***
2008-12-26 00:00:33 +00:00
gdbadmin
1c393c651f
*** empty log message ***
2008-12-25 00:00:03 +00:00
gdbadmin
aca9f9a829
*** empty log message ***
2008-12-24 00:00:03 +00:00
Jan Kratochvil
0cd530490f
* gdb.cp/punctuator.exp: Backslash the '$' signs.
2008-12-23 17:19:00 +00:00
gdbadmin
72c1f96001
*** empty log message ***
2008-12-23 00:00:33 +00:00
Tom Tromey
aad95b57c5
* stack.c (print_block_frame_locals): Print spaces, not tabs.
...
Update for call to print_variable_and_value.
(print_frame_arg_vars): Update.
* value.h (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters.
* printcmd.c (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters. Use
common_val_print.
* f-valprint.c (info_common_command): Update.
2008-12-22 23:11:56 +00:00
Tom Tromey
1446eb676f
* python/python-value.c (valpy_length): Remove #if.
2008-12-22 19:45:58 +00:00
Tom Tromey
f2f35b75ff
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* python/python-internal.h (PyEval_ReleaseLock): New define.
2008-12-22 16:25:17 +00:00
Tom Tromey
ba163c7e44
gdb
...
* c-exp.y (ident_tokens): New global.
(struct token) <cxx_only>: New field.
(tokentab3): Update.
(tokentab2): Update.
(yylex): Use ident_tokens.
gdb/testsuite
* gdb.cp/punctuator.exp: New file.
2008-12-22 14:21:01 +00:00
Tom Tromey
9a61c7a6d7
2008-12-22 Adam Denton <adenton@yahoo.com>
...
PR gdb/8307:
* environ.c (free_environ): Free e->vector.
2008-12-22 14:06:27 +00:00
Jan Kratochvil
6f4de6c97d
gdb/
...
Fix memory double-free.
* completer.c (line_completion_function): Clear LIST after called xfree.
gdb/testsuite/
* gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-22 13:19:30 +00:00
Joel Brobecker
567e1b4ec8
* breakpoint.c (update_watchpoint): Adjust and extend the description
...
of this function. Fix one error message accordingly.
2008-12-22 04:37:37 +00:00
gdbadmin
818d48acf0
*** empty log message ***
2008-12-22 00:00:03 +00:00
Jan Kratochvil
0f34d0b4f9
Fix for PR gdb/8648.
...
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21 17:38:55 +00:00
Jan Kratochvil
db2ad4c3f7
gdb/
...
Fix hw watchpoints created before the inferior was started.
* breakpoint.c (update_watchpoint): Convert the bp_watchpoint and
bp_hardware_watchpoint types according to the current runtime state.
gdb/testsuite/
* gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-21 15:01:32 +00:00
gdbadmin
2155ff5293
*** empty log message ***
2008-12-21 00:00:35 +00:00
gdbadmin
011dfc6399
*** empty log message ***
2008-12-20 00:00:33 +00:00
gdbadmin
11a5df225c
*** empty log message ***
2008-12-19 00:00:33 +00:00
Pedro Alves
0d14fc6327
* linux-nat.c (linux_child_follow_fork): If following the child,
...
and not detaching the parent, also add the child fork to the fork
list.
* linux-fork.c (linux_fork_context): Remove dead error call.
Assert that the incoming newfp argument is not null. Do not add a
new fork for inferior_ptid. Assert that there is one already.
2008-12-18 21:35:23 +00:00
gdbadmin
3a4514b23d
*** empty log message ***
2008-12-18 00:00:32 +00:00
gdbadmin
c7c8fccb94
*** empty log message ***
2008-12-17 00:00:03 +00:00
Denis Pilat
bb5ef15eff
2008-12-16 Christophe Lyon <christophe.lyon@st.com>
...
* gdb.base/expand-psymtabs.c: Insert code in foo so that the
compiler actually generate code at the expected line number.
2008-12-16 13:15:50 +00:00
Tristan Gingold
d26b535418
2008-12-16 Tristan Gingold <gingold@adacore.com>
...
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags,
set_sigio_trap, clear_sigio_trap definitions.
* inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations.
* inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap
and clear_sigio_trap.
* inf-ttrace.c (inf_ttrace_wait): Ditto.
* linux-nat.c (linux_nat_wait): Ditto.
* spu-linux-nat.c (spu_child_wait): Ditto.
* rs6000-nat.c (rs6000_wait): Ditto.
* target.c: Remove target_activity_function and target_activity_fd.
* target.h: Remove target_activity_function and target_activity_fd
declarations.
2008-12-16 11:15:58 +00:00
Joel Brobecker
077e0a5242
* gdb.texinfo (Omissions from Ada): Add missing GDB prompt in
...
examples.
(Additions to Ada): Likewise. Add the missing opening and closing
parenthesis of the GDB prompt in one of the examples.
2008-12-16 06:14:00 +00:00
Paul Pluzhnikov
7b1f21e5c4
2008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and
N_PSYM STABS values for 64-bit GDB.
2008-12-16 05:06:05 +00:00
gdbadmin
2e9de9fa1e
*** empty log message ***
2008-12-16 00:00:33 +00:00
Jie Zhang
90142adc1d
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
2008-12-15 13:04:56 +00:00
Tristan Gingold
9f3fe11c95
2008-12-15 Tristan Gingold <gingold@adacore.com>
...
* dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.
2008-12-15 11:32:08 +00:00
Jerome Guitton
f5938064bf
* ada-lang.c (ada_value_slice_ptr): Rename to...
...
(ada_value_slice_from_ptr): ... this. Return a lazy value instead
of a reference. Update comment.
(ada_value_struct_elt): Ditto if arg is a pointer or a reference.
Update comment as well.
(ada_evaluate_subexp): Update use of ada_value_slice_ptr.
2008-12-15 10:40:28 +00:00
gdbadmin
27f3b2a82e
*** empty log message ***
2008-12-15 00:00:32 +00:00
Doug Evans
bca929d3a6
* utils.c (xmalloc,xcalloc,xstrdup): New fns.
...
* server.h (ATTR_MALLOC): New macro.
(xmalloc,xcalloc,xstrdup): Declare.
* hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup.
* inferiors.c: Ditto.
* linux-low.c: Ditto.
* mem-break.c: Ditto.
* regcache.c: Ditto.
* remote-utils.c: Ditto.
* server.c: Ditto.
* target.c: Ditto.
* win32-low.c: Ditto.
2008-12-14 20:51:04 +00:00
Joel Brobecker
023eb17ca2
* gdb.texinfo (Omissions from Ada): Remove incorrect documentation
...
about the result of 'Address not being of type System.Address.
This problem has been fixed a while ago.
2008-12-14 18:30:25 +00:00
gdbadmin
6a691bfcf4
*** empty log message ***
2008-12-14 00:00:33 +00:00
Kevin Buettner
ed09d7da47
* gnu-v3-abi.c (vtable_ptrdiff_type): New function.
...
(gnuv3_decode_method_ptr, gnuv3_print_method_ptr)
(gnuv3_method_ptr_to_value): Use a better approximation for
`ptrdiff_t' instead of `long'.
* m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta().
(m32c_push_dummy_call): Dereference pointer type.
2008-12-13 00:39:53 +00:00
gdbadmin
36dcf92c3e
*** empty log message ***
2008-12-13 00:00:33 +00:00
Doug Evans
896c7fbbd4
* linux-low.c (linux_wait_for_process): Don't clobber current_inferior
...
in debugging printf.
2008-12-12 23:14:28 +00:00
Doug Evans
97438e3f62
* linux-low.c (handle_extended_wait): Simplify, use my_waitpid.
2008-12-12 23:13:20 +00:00
Tom Tromey
fad6eecd5d
gdb
...
PR cli/2563:
* cli/cli-decode.c (delete_cmd): Add hook-related out parameters.
(add_cmd): Update. Install hooks into new command.
(add_alias_cmd): Update.
gdb/testsuite
* gdb.base/commands.exp (redefine_hook_test): New proc.
Call it.
2008-12-12 17:58:48 +00:00
Tom Tromey
17c8aaf507
gdb
...
* macroexp.c (get_pp_number): Require digit after leading ".".
Correctly handle suffixes.
gdb/testsuite
* gdb.base/macscp.exp: New regression test.
2008-12-12 17:03:37 +00:00
Tom Tromey
cc704ebecf
* macrocmd.c (macro_define_command): Skip whitespace after
...
macro name.
(print_one_macro): Print space after macro name.
2008-12-12 16:58:46 +00:00
Pedro Alves
48844aa658
* infrun.c (handle_inferior_event): Correctly tag non-executing
...
threads in multi-process.
(normal_stop): Correctly tag stopped threads in multi-process.
2008-12-12 14:20:48 +00:00
Pedro Alves
48aa3c2705
* remote.c (extended_remote_mourn_1): Always call
...
generic_mourn_inferior.
2008-12-12 13:45:43 +00:00
Pedro Alves
5f3563ea7a
* remote.c (remote_detach_1): Don't delete the inferior here.
...
(process_stop_reply): Ditto.
(extended_remote_kill): Ditto.
2008-12-12 01:08:29 +00:00
Pedro Alves
ca19bf2309
* remote.c (read_ptid): If we don't know about any inferior yet,
...
use the pid of magic_null_ptid.
(remote_start_remote): In the non-stop mode case, don't set
inferior_ptid to magic_null_ptid here.
2008-12-12 00:12:03 +00:00
gdbadmin
827e6013f1
*** empty log message ***
2008-12-12 00:00:33 +00:00
Pedro Alves
37d9480010
* infcmd.c (step_1): Use step_once in the synchronous case too.
...
(step_1_continuation): Wrap line.
(step_once): Adjust comment. Only install the continuation in
async mode.
2008-12-11 20:34:18 +00:00
Pedro Alves
fb66883a82
* infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
...
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid.
* linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED
or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target
returned.
* inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of
minus_one_ptid if the inferior disappeared.
* rs6000-nat.c (rs6000_wait): Likewise.
* spu-linux-nat.c (spu_child_wait): Likewise.
2008-12-11 19:19:12 +00:00