<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ashley,<br>
<br>
Agreed, it makes more sense to set the language only when it is needed.<br>
<br>
There is a little bug in line 6323. I have fixed it with the attached
patch. Other than that works fine.<br>
<pre class="moz-signature" cols="72">Kind Regards,
Jie

-- 
Jie Cai                         <a class="moz-txt-link-abbreviated" href="mailto:Jie.Cai@anu.edu.au">Jie.Cai@anu.edu.au</a>
ANU Supercomputer Facility      NCI National Facility
Leonard Huxley, Mills Road      Ph:  +61 2 6125 7965
Australian National University  Fax: +61 2 6125 8199
Canberra, ACT 0200, Australia   <a class="moz-txt-link-freetext" href="http://nf.nci.org.au">http://nf.nci.org.au</a>
-----------------------------------------------------
</pre>
<br>
On 25/11/10 09:55, Ashley Pittman wrote:
<blockquote
 cite="mid:BBCF3829-8D7E-472B-800D-DB964B01D42C@pittman.co.uk"
 type="cite">
  <pre wrap="">
On 23 Nov 2010, at 23:44, Jie Cai wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">
On 23/11/10 18:55, Ashley Pittman wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Thank you for the patch, I'm wondering if it's enough to simply set the mode on attach or does that break the stack traces or local variables in Fortran code?
      </pre>
    </blockquote>
    <pre wrap="">As I tested, this is not sufficient.
    </pre>
    <blockquote type="cite">
      <pre wrap="">Padb already tracks the value of "-gdb-set print address" and changes it as required, perhaps it needs to do the same for "-gdb-set language"?
  
      </pre>
    </blockquote>
    <pre wrap="">Yes, you are right. The patch can be simplified as put '-gdb-set languance c' only when '-gdb-set print address' is sent.
    </pre>
  </blockquote>
  <pre wrap="">
I was thinking of something like the attached which sets the value to c when required but reverts it to it's normal state when not.

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>


  </pre>
</blockquote>
</body>
</html>