aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2008-12-30 06:28:30 +0000
committerHui Zhu <teawater@gmail.com>2008-12-30 06:28:30 +0000
commit8d4ad90e6575e28ba4ee8cdf7390dfbceaad5579 (patch)
treed9e183487243b75cdf733c9e783a4068f2b02a3f
parent24c765abed3fbf355b90e0f3bcd3d99b6b09426f (diff)
downloadgdb-reverse-20081226-branch.zip
gdb-reverse-20081226-branch.tar.gz
gdb-reverse-20081226-branch.tar.bz2
Add a debug message to function "record_arch_list_add".reverse-20081226-branch
-rw-r--r--gdb/record.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/record.c b/gdb/record.c
index 5277d2d..9cae48b 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -173,6 +173,13 @@ record_list_release_first (void)
static void
record_arch_list_add (record_t * rec)
{
+ if (record_debug > 1)
+ {
+ fprintf_unfiltered (gdb_stdlog,
+ "Process record: record_arch_list_add 0x%s.\n",
+ paddr_nz ((CORE_ADDR)rec));
+ }
+
if (record_arch_list_tail)
{
record_arch_list_tail->next = rec;