2005-11-18 Jim Blandy <jimb@redhat.com>
authorJim Blandy <jimb@codesourcery.com>
Sat, 19 Nov 2005 04:44:43 +0000 (04:44 +0000)
committerJim Blandy <jimb@codesourcery.com>
Sat, 19 Nov 2005 04:44:43 +0000 (04:44 +0000)
* tracepoint.c (collect_symbol): Doc fix.

gdb/ChangeLog
gdb/tracepoint.c

index bdc7d19cdd6c00dbfcd609b607bb4ae584a95516..3ac04f52072efed9440bbed594c7b41351dc4a26 100644 (file)
@@ -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>
 
index f4880465dfa7437032be257fff1121b570ff4da3..1858681314c7af2af137d0daa8ef688dba9d0c2e 100644 (file)
@@ -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: