patches/gdb/6.3/630-debian_24.tracepoint-segv.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 01 16:55:33 2007 +0000 (2007-06-01)
changeset 148 567f1673d59d
permissions -rw-r--r--
Introduce the notion of tols facilities (none so far, sstrip coming right away...).
     1 Trivial.  Still need to submit this.
     2 
     3 Index: gdb-6.1/gdb/tracepoint.c
     4 ===================================================================
     5 --- gdb-6.1.orig/gdb/tracepoint.c	2004-04-05 13:26:43.000000000 -0400
     6 +++ gdb-6.1/gdb/tracepoint.c	2004-04-05 13:26:45.000000000 -0400
     7 @@ -853,6 +853,8 @@ read_actions (struct tracepoint *t)
     8        else
     9  	line = gdb_readline (0);
    10  
    11 +      if (line == NULL || *line == EOF)
    12 +	break;
    13        linetype = validate_actionline (&line, t);
    14        if (linetype == BADLINE)
    15  	continue;		/* already warned -- collect another line */