This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB bug report 1334 fix


A problem using tstart on an I86 Linux box.  (Actaully this is probably
an across the board problem)

-----Original Message-----

As a better description:

in tracepoint.c routine set_traceframe_context

first time set:

      set_internalvar (lookup_internalvar ("trace_line"),
		       value_from_pointer (builtin_type_int, (LONGEST) -
1));

next time set

  set_internalvar (lookup_internalvar ("trace_line"),
		   value_from_longest (builtin_type_int,
				       (LONGEST) traceframe_sal.line));

I changed the first instance to:

      set_internalvar (lookup_internalvar ("trace_line"),
		       value_from_longest (builtin_type_int, (LONGEST) -
1));

This seems to stop the error detection in findvar from griping.

                               Mark

-----Original Message-----
From: Michael Snyder [mailto:msnyder@redhat.com]
Sent: Thursday, August 14, 2003 4:17 PM
To: Newman, Mark (N-Superior Technical Resource Inc)
Cc: Burrows, Lawrence S (EXP); ebachalo@redhat.com
Subject: Re: bug report


Newman, Mark (N-Superior Technical Resource Inc) wrote:

>Michael -
>
>I put in a bug report on the tstart problem with a fix.  If the
decision to fix it is done some other way please let me know.
>
>It is not a major problem - simply an inconvenience.
>

Mark, I'm having a "senior moment" -- could you remind me what the 
tstart problem is?

Michael



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]