Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@cygnus.com>
To: Fernando Nasser <fnasser@cygnus.com>
Cc: Andrew Cagney <ac131313@cygnus.com>,
	GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: Re: Is ``break main if(1)'' legal?
Date: Wed, 15 Dec 1999 10:41:00 -0000	[thread overview]
Message-ID: <14423.57565.918137.3703@kwikemart.cygnus.com> (raw)
In-Reply-To: <3857CC59.35545D0C@cygnus.com>

Fernando Nasser writes:
 > Andrew Cagney wrote:
 > > 
 > > (vs ``break main if (1)'')
 > > Some parts of the code (decode_line_1()) think it is legal but other
 > > parts (break_command_1()) don't.
 > > 
 > 
 > (1) is a perfectly valid logical expression of "true".  It makes no
 > sense setting a conditional breakpoint to always true, but rejecting the
 > expression as not valid is wrong.
 > 
 > What is break_command_1() complaining about?
 > 

I think Andrew is referring to the space between 'if' and the condition?
Elena

 > -- 
 > Fernando Nasser
 > Cygnus Solutions - Toronto Office       E-Mail:  fnasser@cygnus.com
 > 2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
 > Toronto, Ontario   M4P 2C9              Fax:  416-482-6299
From law@cygnus.com Wed Dec 15 10:41:00 1999
From: Jeffrey A Law <law@cygnus.com>
To: Jimmy Guo <guo@cup.hp.com>
Cc: gdb-patches@sourceware.cygnus.com, binutils@sourceware.cygnus.com
Subject: Re: (patch) hpjyg07: include/hp-symtab.h 
Date: Wed, 15 Dec 1999 10:41:00 -0000
Message-id: <2374.945282280@upchuck>
References: <Pine.LNX.4.10.9912150840410.29519-100000@hpcll168.cup.hp.com>
X-SW-Source: 1999-q4/msg00391.html
Content-length: 1124

  In message < Pine.LNX.4.10.9912150840410.29519-100000@hpcll168.cup.hp.com >you 
write:
  > >  > 1999-11-03      Jimmy Guo       <guo@cup.hp.com>
  > >  > 
  > >  >         * hp-symtab.h (HP_LANGUAGE_FORTRAN): Declare, replaces
  > >  >         HP_LANGUAGE_F77.
  > >I don't see the point behind making this change.  Also note that it will
  > >break gdb unless you change hp-psymtab-read.c at the same time.
  > 
  > >Why are you making this change?
  > 
  > We've added Fortran 90 support and this change is to cover Fortran90 as
  > well.
Ah yes.  That makes perfect sense.

  > But it could be that hp-psymtab-read.c needs change at the same
  > time ... I thought I tested each patch but one can never be sure.
grep HP_LANGUAGE_F77 will show one use in hp-psymtab-read.c  so it
should be updated to the newer name.  I'll take care of that.

It probably does not matter for this specific patch, but in general if we can
keep compatibility we should.  I went ahead and updated the patch so that it
provides by HP_LANGUAGE_FORTRAN and HP_LANGUAGE_F77.

The changes should appear in the next gdb snapshot.

Thanks,
jeff



      reply	other threads:[~1999-12-15 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <38572456.8C003027@cygnus.com>
1999-12-15  9:14 ` Fernando Nasser
1999-12-15 10:41   ` Elena Zannoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14423.57565.918137.3703@kwikemart.cygnus.com \
    --to=ezannoni@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=fnasser@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox