patches/gdb/6.3/630-debian_24.tracepoint-segv.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/gdb/6.3/630-debian_24.tracepoint-segv.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,15 +0,0 @@
     1.4 -Trivial.  Still need to submit this.
     1.5 -
     1.6 -Index: gdb-6.1/gdb/tracepoint.c
     1.7 -===================================================================
     1.8 ---- gdb-6.1.orig/gdb/tracepoint.c	2004-04-05 13:26:43.000000000 -0400
     1.9 -+++ gdb-6.1/gdb/tracepoint.c	2004-04-05 13:26:45.000000000 -0400
    1.10 -@@ -853,6 +853,8 @@ read_actions (struct tracepoint *t)
    1.11 -       else
    1.12 - 	line = gdb_readline (0);
    1.13 - 
    1.14 -+      if (line == NULL || *line == EOF)
    1.15 -+	break;
    1.16 -       linetype = validate_actionline (&line, t);
    1.17 -       if (linetype == BADLINE)
    1.18 - 	continue;		/* already warned -- collect another line */