aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-11-19 04:44:43 +0000
committerJim Blandy <jimb@codesourcery.com>2005-11-19 04:44:43 +0000
commit6244699480e7ef8486a971c10b111d6b31cdafa3 (patch)
tree4a49fc15a5e420c54ed59cde5ec0a48da822d182 /gdb
parent0f570f537e31041b29b70032cbe9e626d4a2f1e5 (diff)
downloadfsf-binutils-gdb-6244699480e7ef8486a971c10b111d6b31cdafa3.zip
fsf-binutils-gdb-6244699480e7ef8486a971c10b111d6b31cdafa3.tar.gz
fsf-binutils-gdb-6244699480e7ef8486a971c10b111d6b31cdafa3.tar.bz2
2005-11-18 Jim Blandy <jimb@redhat.com>
* tracepoint.c (collect_symbol): Doc fix.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/tracepoint.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bdc7d19..3ac04f5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,6 +1,6 @@
2005-11-18 Jim Blandy <jimb@redhat.com>
- * tracepoint.c (struct memrange): Doc fix.
+ * tracepoint.c (struct memrange, collect_symbol): Doc fix.
2005-11-18 Andrew Stubbs <andrew.stubbs@st.com>
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index f488046..1858681 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -1226,7 +1226,7 @@ collect_symbol (struct collection_list *collect,
DEPRECATED_SYMBOL_NAME (sym), len,
tmp /* address */);
}
- add_memrange (collect, -1, offset, len); /* 0 == memory */
+ add_memrange (collect, -1, offset, len); /* -1 == memory */
break;
case LOC_REGISTER:
case LOC_REGPARM: