Hui Zhu
53cc454a92
* gdb.texinfo: Add documentation for process record and replay.
2009-04-30 03:24:48 +00:00
Hui Zhu
77fcef5176
I386 Linux process record and replay support.
...
* i386-linux-tdep.c (i386_linux_record_tdep): New variable.
This struct has the argument for the function
"record_linux_system_call".
(i386_linux_intx80_sysenter_record): New function. Parse the
system call instruction and call function
"record_linux_system_call" to record execute log.
(i386_linux_init_abi): Initialize "i386_linux_record_tdep".
Set "i386_linux_intx80_sysenter_record" to
"i386_intx80_record" and "i386_sysenter_record".
2009-04-30 03:21:46 +00:00
Hui Zhu
7ad1096851
I386 architecture process record and replay support.
...
* i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK,
PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386
instruction set.
(aflag, dflag, override, modrm, mod, reg, rm, ot,
i386_record_pc): New variables. Ditto.
(i386_record_modrm, i386_record_lea_modrm_addr,
i386_record_lea_modrm): New functions. Ditto.
(i386_process_record): New function. Parse the instruction in
address "addr" and record the values of registers and memory
that will be changed by this instruction.
(i386_gdbarch_init): Set "i386_process_record" to GDBARCH
"process_record" interface.
* i386-tdep.h (gdbarch_tdep): New function pointers
"i386_intx80_record" and "i386_sysenter_record" that point to
the function that can record "intx80" and "sysenter" execute
log.
2009-04-30 03:12:17 +00:00
Hui Zhu
96429cc883
* infrun.c (use_displaced_stepping): Return false if process
...
record and replay target is used.
(proceed): Call function "record_not_record_set" if pocess
record and replay target is used.
2009-04-30 03:09:59 +00:00
Hui Zhu
b7f6bf2299
Linux process record and replay support.
...
* Makefile.in (ALLDEPFILES): Add linux-record.c.
(ALL_TARGET_OBS): Add linux-record.o.
* configure.tgt (x86_64-*-linux*): Add linux-record.o.
(i[34567]86-*-linux*): Add linux-record.o.
* linux-record.c, linux-record.h: New file.
2009-04-30 03:04:28 +00:00
Hui Zhu
69d05d3898
Process record and replay target.
...
* Makefile.in (SFILES): Add record.c.
(COMMON_OBS): Add record.o.
* record.c, record.h: New file.
2009-04-30 02:58:37 +00:00
Hui Zhu
81e64f5509
* target.h (strata): New stratum "record_stratum".
2009-04-30 02:55:27 +00:00
Hui Zhu
0407e7127b
* gdbarch.sh (process_record): This interface point to the
...
function that records the inferior execute log.
2009-04-30 02:53:45 +00:00
Hui Zhu
0508c3ec4d
GDBARCH interface for process record and replay.
...
* gdbarch.sh (process_record): This interface point to the
function that records the inferior execute log.
2009-04-30 02:52:16 +00:00
gdbadmin
00ee36855d
*** empty log message ***
2009-04-30 00:00:33 +00:00
Doug Evans
9ab4e74422
* gdb.cp/mb-ctor.exp: Add multi-line source statement test.
...
* gdb.cp/mb-ctor.cc: Ditto.
* gdb.cp/mb-inline.exp: Add multi-line source statement test.
* gdb.cp/mb-inline.h (multi_line_foo): New function.
* gdb.cp/mb-inline1.cc: Call it.
* gdb.cp/mb-inline2.cc: Ditto.
* gdb.cp/mb-templates.exp: Add multi-line source statement test.
* gdb.cp/mb-templates.cc (multi_line_foo): New template.
2009-04-29 22:45:11 +00:00
Doug Evans
c5af0dad33
* i386-nat.c (child_post_startup_inferior): Delete, unused.
2009-04-29 22:25:17 +00:00
Pedro Alves
df2b6d2de9
* breakpoint.c (print_exception_catchpoint): Access `b' directly
...
instead of `b->loc->owner'.
(print_mention_exception_catchpoint): Ditto.
2009-04-29 19:31:58 +00:00
Jan Kratochvil
484086b7e0
gdb/
...
* macrocmd.c (info_macro_command): Print -Dname=value if LINE is zero.
gdb/doc/
* gdb.texinfo (Macros): Note command-line for `info macro'. Append
a new part on command-line defined macros.
gdb/testsuite/
* gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
(info_macro): Remova `decimal' declaration. New variable `nonzero'.
Replace all uses of `decimal' by `nonzero'.
(info macro FROM_COMMANDLINE): New test.
2009-04-29 07:51:33 +00:00
gdbadmin
fc34a64325
*** empty log message ***
2009-04-29 00:00:03 +00:00
Tom Tromey
379a77b548
gdb
...
* c-exp.y (yylex): Handle '[' and ']' like '(' and ')'.
gdb/testsuite
* gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2009-04-28 01:03:24 +00:00
gdbadmin
0c19b345c9
*** empty log message ***
2009-04-28 00:00:33 +00:00
Doug Evans
b92b73c2f6
* gdb.threads/watchthreads.c (main): Initialize args before starting
...
the threads. Plus formatting cleanup.
* gdb.threads/watchthreads.exp: Avoid errant failures due to
biased scheduling of one thread.
2009-04-27 15:38:43 +00:00
Jerome Guitton
945a118de0
* gdb.cp/templates.cc (GetMax): New template.
...
(main): Declare two instances of GetMax.
* gdb.cp/templates.exp: Add new test.
2009-04-27 12:14:09 +00:00
Jerome Guitton
aad80b2683
* symtab.c (append_exact_match_to_sals): New function, extracted
...
from expand_line_sal.
(expand_line_sal): Use append_exact_match_to_sals to append exact
matches. If none found, append all best items.
2009-04-27 11:57:46 +00:00
Jerome Guitton
57a460012a
* main.c (captured_main): Move gdbinit lookups after gdb_init.
2009-04-27 10:24:08 +00:00
Jan Kratochvil
d389af10b7
gdb/
...
PR gdb/9675:
* dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New.
(read_func_scope): Call inherit_abstract_dies.
gdb/testsuite/
* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-27 08:36:17 +00:00
gdbadmin
8f3e5e92ce
*** empty log message ***
2009-04-27 00:00:33 +00:00
gdbadmin
5c2a5928bf
*** empty log message ***
2009-04-26 00:00:33 +00:00
Eli Zaretskii
90b9b5173a
* Makefile.in (ALLDEPFILES): Remove duplicate entries for
...
sparc-sol2-nat.c and sparc-sol2-tdep.c.
2009-04-25 10:05:22 +00:00
Eli Zaretskii
32ae184288
* gdb.texinfo (Machine Code) <disassemble-next-line>: Improve and
...
clarify the wording.
2009-04-25 09:56:33 +00:00
Eli Zaretskii
80a0ea0fef
* stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.
2009-04-25 09:42:15 +00:00
gdbadmin
4cf88a2b04
*** empty log message ***
2009-04-25 00:00:03 +00:00
Pierre Muller
5ac79d7811
ARI change: Use "/* ARI: rule */" pattern.
...
* utils.c: Update ARI patterns.
* gdb_dirent.h: Likewise.
2009-04-24 22:10:03 +00:00
Anthony Green
d7066cce3b
Add moxie-elf port.
2009-04-24 02:26:01 +00:00
gdbadmin
8d676cfdc9
*** empty log message ***
2009-04-24 00:00:04 +00:00
Joel Brobecker
fc84d355b2
Spell my name properly in the last entry :-).
2009-04-23 22:53:54 +00:00
Joel Brobecker
72fcaa051a
* ada-lang.c: Remove an extra empty line. No code change.
2009-04-23 22:52:51 +00:00
Jan Kratochvil
217dc9e25b
gdb/
...
Fix double free on error inserting the breakpoint instruction.
* breakpoint.c (create_breakpoints): Move the
update_global_location_list call to ...
(break_command_really): ... here together with the second local call
both unified after all the cleanups.
2009-04-23 22:38:24 +00:00
Tom Tromey
b14b1491f2
gdb
...
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Tom Tromey <tromey@redhat.com>
* configure, config.in: Regenerate.
* configure.ac: Support for relocatable GDB datadir. Use
GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
* acinclude.m4 (GDB_AC_WITH_DIR): New defun.
* top.c (init_main): Add "set data-directory".
* defs.h (gdb_datadir): Declare.
* main.c (gdb_datadir): New global.
(captured_main): Initialize gdb_datadir. Use relocate_directory.
(relocate_path): New function.
(relocate_directory): Likewise.
(get_init_files): Use relocate_path.
(README): Mention --with-gdb-datadir.
gdb/doc
2009-04-23 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Data Files): New node.
(GDB Files): Update menu.
2009-04-23 21:28:20 +00:00
Joel Brobecker
5e7b5f74c2
* ada-tasks (task_command_1): Call target_find_new_threads.
2009-04-23 18:55:20 +00:00
Joel Brobecker
465f42bbe4
* stack.c (do_gdb_disassembly): Print the exception message if an
...
error was thrown while trying to perform the disassembly.
2009-04-23 18:49:20 +00:00
Joel Brobecker
5c1e86e191
* gdbint.texinfo (Defining Other Architecture Features): Remove
...
enty for PROCESS_LINENUMBER_HOOK.
2009-04-23 18:46:14 +00:00
gdbadmin
ee8921dd8e
*** empty log message ***
2009-04-23 00:00:33 +00:00
Joseph Myers
e7f86de9ac
* lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2009-04-22 19:46:19 +00:00
Jan Kratochvil
3038237c75
gdb/
...
* varobj.c (free_variable): Replace free_current_contents by xfree.
2009-04-22 17:50:54 +00:00
Vladimir Prus
83eba9b72c
* gdb.texinfo (GDB/MI Program Execution): Document -exec-jump.
2009-04-22 17:24:59 +00:00
Kazu Hirata
17c1263914
* arm-linux-nat.c (fetch_register, store_register): Use
...
ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
* arm-linux-tdep.c (arm_linux_supply_gregset,
arm_linux_collect_gregset): Likewise.
* arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
* arm-tdep.h (ARM_CPSR_REGNUM): Remove.
2009-04-22 15:14:59 +00:00
Hui Zhu
e31198c47e
* gdb.texinfo (disassemble-next-line): Set the default of
...
disassemble-next-line to off.
2009-04-22 06:09:18 +00:00
Hui Zhu
a362e3d3b7
* stack.c (_initialize_stack): Set the default of
...
disassemble-next-line to off.
2009-04-22 06:06:12 +00:00
Tom Tromey
d2596e2e7b
* acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
...
* configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
2009-04-22 00:17:50 +00:00
gdbadmin
3e7a808720
*** empty log message ***
2009-04-22 00:00:03 +00:00
Andreas Schwab
62e4f60cdb
* configure.ac: Add quotes to not lose brackets in help text.
...
* configure: Rebuild.
2009-04-21 21:01:07 +00:00
Andreas Schwab
82cd387f60
Fix date.
2009-04-21 20:54:33 +00:00
Andreas Schwab
cfd5360553
* configure.ac: Don't postprocess Makefile in config.status.
...
Substitute GDB_NM_FILE. Don't substitute nm_h.
* Makefile.in (GDB_NM_FILE): Substitute.
(TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
* configure: Regenerate.
* gnulib/Makefile.in: Regenerate.
2009-04-21 20:19:13 +00:00