diff options
author | Hui Zhu <teawater@gmail.com> | 2008-12-30 06:28:30 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2008-12-30 06:28:30 +0000 |
commit | 8d4ad90e6575e28ba4ee8cdf7390dfbceaad5579 (patch) | |
tree | d9e183487243b75cdf733c9e783a4068f2b02a3f | |
parent | 24c765abed3fbf355b90e0f3bcd3d99b6b09426f (diff) | |
download | gdb-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.c | 7 |
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; |