Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Entry for Modula-2 changes in NEWS?
@ 2006-05-16 22:37 Joel Brobecker
  2006-05-16 22:39 ` Gaius Mulley
  0 siblings, 1 reply; 11+ messages in thread
From: Joel Brobecker @ 2006-05-16 22:37 UTC (permalink / raw)
  To: gdb; +Cc: gaius

Hello,

Should we add an entry for the Modula-2 changes. The subject says
that support for Modula-2 has been enhanced, so it seems worth
detailing this a bit more in the NEWS file. Opinions?

-- 
Joel


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
  2006-05-16 22:37 Entry for Modula-2 changes in NEWS? Joel Brobecker
@ 2006-05-16 22:39 ` Gaius Mulley
       [not found]   ` <20060517154255.GF12531@adacore.com>
  0 siblings, 1 reply; 11+ messages in thread
From: Gaius Mulley @ 2006-05-16 22:39 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

Joel Brobecker <brobecker@adacore.com> writes:

> Hello,
> 
> Should we add an entry for the Modula-2 changes. The subject says
> that support for Modula-2 has been enhanced, so it seems worth
> detailing this a bit more in the NEWS file. Opinions?

Hi Joel,

feel free to use these words (or modify them in any way) if you
decide that detail is warranted..

regards,
Gaius


diff -r1.187 NEWS
57a58,66
> * Improved Modula-2 language support
>
> GDB can now print most types in the Modula-2 syntax.  This includes:
> basic types, set types, record types, enumerated types, range types,
> pointer types and ARRAY types.  Procedure var parameters are
> correctly
> printed and hexadecimal addresses and character constants are also
> written in the Modula-2 syntax.  Best results can be obtained by
> using GNU Modula-2 together with the -gdwarf-2 command line option.
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
       [not found]   ` <20060517154255.GF12531@adacore.com>
@ 2006-05-18  1:21     ` Nick Roberts
  2006-05-19  2:51       ` Gaius Mulley
  2006-05-18  3:36     ` Daniel Jacobowitz
                       ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Nick Roberts @ 2006-05-18  1:21 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Gaius Mulley, gdb

 > I am happy to submit these changes for approval, but I think it would
 > make more sense if you did it. What do you think? Once approved, I can
 > port the change to the branch as well, if you prefer. It's not
 > difficult, but you need to check out the branch, which takes a bit of
 > time. I already have done it on my side.
 
Or presumably copy the working directory and update to the branch:

cp -r src src_6_5
cd src_6_5
cvs up -r gdb_6_5-branch

which should be a lot quicker.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
       [not found]   ` <20060517154255.GF12531@adacore.com>
  2006-05-18  1:21     ` Nick Roberts
@ 2006-05-18  3:36     ` Daniel Jacobowitz
  2006-05-18 14:36       ` Gaius Mulley
  2006-05-19  2:54     ` Gaius Mulley
  2006-05-19  5:48     ` [patch] update for Modula-2 changes in NEWS Gaius Mulley
  3 siblings, 1 reply; 11+ messages in thread
From: Daniel Jacobowitz @ 2006-05-18  3:36 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: Gaius Mulley, gdb

On Wed, May 17, 2006 at 08:42:55AM -0700, Joel Brobecker wrote:
> > > using GNU Modula-2 together with the -gdwarf-2 command line option.
>                                          ^^^^^^^^^ -gdwarf2 or -gdwarf-2
>                                          ('-' or no '-'?)

-gdwarf-2, with dash.  -gdwarf2 at one point would have meant "DWARF-1,
verbosity level 2".

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
  2006-05-18  3:36     ` Daniel Jacobowitz
@ 2006-05-18 14:36       ` Gaius Mulley
  0 siblings, 0 replies; 11+ messages in thread
From: Gaius Mulley @ 2006-05-18 14:36 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Joel Brobecker, gdb

Daniel Jacobowitz <drow@false.org> writes:

> On Wed, May 17, 2006 at 08:42:55AM -0700, Joel Brobecker wrote:
> > > > using GNU Modula-2 together with the -gdwarf-2 command line option.
> >                                          ^^^^^^^^^ -gdwarf2 or -gdwarf-2
> >                                          ('-' or no '-'?)
> 
> -gdwarf-2, with dash.  -gdwarf2 at one point would have meant "DWARF-1,
> verbosity level 2".

Hi,

yes "-gdwarf-2" with the dash, the option which generates dwarf2
debugging information using "gcc-3.3.6/gcc/dwarf2out.c" say..

regards,
Gaius


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
  2006-05-18  1:21     ` Nick Roberts
@ 2006-05-19  2:51       ` Gaius Mulley
  0 siblings, 0 replies; 11+ messages in thread
From: Gaius Mulley @ 2006-05-19  2:51 UTC (permalink / raw)
  To: Nick Roberts; +Cc: Joel Brobecker, gdb

Nick Roberts <nickrob@snap.net.nz> writes:

>  > I am happy to submit these changes for approval, but I think it would
>  > make more sense if you did it. What do you think? Once approved, I can
>  > port the change to the branch as well, if you prefer. It's not
>  > difficult, but you need to check out the branch, which takes a bit of
>  > time. I already have done it on my side.
>  
> Or presumably copy the working directory and update to the branch:
> 
> cp -r src src_6_5
> cd src_6_5
> cvs up -r gdb_6_5-branch
> 
> which should be a lot quicker.

Hi,

thanks for that trick..

regards,
Gaius


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
       [not found]   ` <20060517154255.GF12531@adacore.com>
  2006-05-18  1:21     ` Nick Roberts
  2006-05-18  3:36     ` Daniel Jacobowitz
@ 2006-05-19  2:54     ` Gaius Mulley
  2006-05-19  2:59       ` Daniel Jacobowitz
  2006-05-19  5:48     ` [patch] update for Modula-2 changes in NEWS Gaius Mulley
  3 siblings, 1 reply; 11+ messages in thread
From: Gaius Mulley @ 2006-05-19  2:54 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

Joel Brobecker <brobecker@adacore.com> writes:

> Hi Gaius,
> 
> > feel free to use these words (or modify them in any way) if you
> > decide that detail is warranted..
> 
> I am happy to submit these changes for approval, but I think it would
> make more sense if you did it. What do you think? Once approved, I can
> port the change to the branch as well, if you prefer. It's not
> difficult, but you need to check out the branch, which takes a bit of
> time. I already have done it on my side.

all done now,

> 
> > > * Improved Modula-2 language support
> > >
> > > GDB can now print most types in the Modula-2 syntax.  This includes:
> > > basic types, set types, record types, enumerated types, range types,
> > > pointer types and ARRAY types.  Procedure var parameters are
> > > correctly
> > > printed and hexadecimal addresses and character constants are also
> > > written in the Modula-2 syntax.  Best results can be obtained by
> > > using GNU Modula-2 together with the -gdwarf-2 command line option.
>                                          ^^^^^^^^^ -gdwarf2 or -gdwarf-2
>                                          ('-' or no '-'?)


yes with the '-2'

regards,
Gaius


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
  2006-05-19  2:54     ` Gaius Mulley
@ 2006-05-19  2:59       ` Daniel Jacobowitz
  2006-05-19 10:16         ` Gaius Mulley
  0 siblings, 1 reply; 11+ messages in thread
From: Daniel Jacobowitz @ 2006-05-19  2:59 UTC (permalink / raw)
  To: Gaius Mulley; +Cc: Joel Brobecker, gdb

On Fri, May 19, 2006 at 03:16:08AM +0100, Gaius Mulley wrote:
> Joel Brobecker <brobecker@adacore.com> writes:
> 
> > Hi Gaius,
> > 
> > > feel free to use these words (or modify them in any way) if you
> > > decide that detail is warranted..
> > 
> > I am happy to submit these changes for approval, but I think it would
> > make more sense if you did it. What do you think? Once approved, I can
> > port the change to the branch as well, if you prefer. It's not
> > difficult, but you need to check out the branch, which takes a bit of
> > time. I already have done it on my side.
> 
> all done now,

I see you've modified NEWS on the branch.  Please, three notes:

- Patches need to be sent to gdb-patches@.

- Changes shouldn't go onto a branch that haven't already gone onto
  HEAD.

- And it's usually polite to post patches before checking them in;
  for instance, Eli usually reviews documentation patches quickly
  (and NEWS is part of the documentation now).

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [patch] update for Modula-2 changes in NEWS
       [not found]   ` <20060517154255.GF12531@adacore.com>
                       ` (2 preceding siblings ...)
  2006-05-19  2:54     ` Gaius Mulley
@ 2006-05-19  5:48     ` Gaius Mulley
  2006-05-19 10:25       ` Joel Brobecker
  3 siblings, 1 reply; 11+ messages in thread
From: Gaius Mulley @ 2006-05-19  5:48 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

Joel Brobecker <brobecker@adacore.com> writes:

> Hi Gaius,
> 
> > feel free to use these words (or modify them in any way) if you
> > decide that detail is warranted..
> 
> I am happy to submit these changes for approval, but I think it
> would make more sense if you did it. What do you think? Once
> approved, I can port the change to the branch as well, if you
> prefer. It's not difficult, but you need to check out the branch,
> which takes a bit of time. I already have done it on my side.

Hi Joel,

I've applied the diff to the branch 6_5 and then realised I jumped the
gun so have retracted the patch and I'm submitting it here for
approval:

diff -r1.188 NEWS
61a62,70
> * Improved Modula-2 language support
> 
> GDB can now print most types in the Modula-2 syntax.  This includes:
> basic types, set types, record types, enumerated types, range types,
> pointer types and ARRAY types.  Procedure var parameters are correctly
> printed and hexadecimal addresses and character constants are also
> written in the Modula-2 syntax.  Best results can be obtained by using
> GNU Modula-2 together with the -gdwarf-2 command line option.
> 

apologies,
Gaius


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Entry for Modula-2 changes in NEWS?
  2006-05-19  2:59       ` Daniel Jacobowitz
@ 2006-05-19 10:16         ` Gaius Mulley
  0 siblings, 0 replies; 11+ messages in thread
From: Gaius Mulley @ 2006-05-19 10:16 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Joel Brobecker, gdb

Daniel Jacobowitz <drow@false.org> writes:

> 
> I see you've modified NEWS on the branch.  Please, three notes:
> 
> - Patches need to be sent to gdb-patches@.
> 
> - Changes shouldn't go onto a branch that haven't already gone onto
>   HEAD.
> 
> - And it's usually polite to post patches before checking them in;
>   for instance, Eli usually reviews documentation patches quickly
>   (and NEWS is part of the documentation now).
> 

Hi Daniel,

very sorry - many apologies,
Gaius


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [patch] update for Modula-2 changes in NEWS
  2006-05-19  5:48     ` [patch] update for Modula-2 changes in NEWS Gaius Mulley
@ 2006-05-19 10:25       ` Joel Brobecker
  0 siblings, 0 replies; 11+ messages in thread
From: Joel Brobecker @ 2006-05-19 10:25 UTC (permalink / raw)
  To: Gaius Mulley; +Cc: gdb

> I've applied the diff to the branch 6_5 and then realised I jumped the
> gun so have retracted the patch and I'm submitting it here for
> approval:

That's great. Thanks! Just a quick note, before Eli takes a look:
You forgot to include a ChangeLog entry with your patch.

> diff -r1.188 NEWS
> 61a62,70
> > * Improved Modula-2 language support
> > 
> > GDB can now print most types in the Modula-2 syntax.  This includes:
> > basic types, set types, record types, enumerated types, range types,
> > pointer types and ARRAY types.  Procedure var parameters are correctly
> > printed and hexadecimal addresses and character constants are also
> > written in the Modula-2 syntax.  Best results can be obtained by using
> > GNU Modula-2 together with the -gdwarf-2 command line option.

-- 
Joel


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-05-19  5:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-16 22:37 Entry for Modula-2 changes in NEWS? Joel Brobecker
2006-05-16 22:39 ` Gaius Mulley
     [not found]   ` <20060517154255.GF12531@adacore.com>
2006-05-18  1:21     ` Nick Roberts
2006-05-19  2:51       ` Gaius Mulley
2006-05-18  3:36     ` Daniel Jacobowitz
2006-05-18 14:36       ` Gaius Mulley
2006-05-19  2:54     ` Gaius Mulley
2006-05-19  2:59       ` Daniel Jacobowitz
2006-05-19 10:16         ` Gaius Mulley
2006-05-19  5:48     ` [patch] update for Modula-2 changes in NEWS Gaius Mulley
2006-05-19 10:25       ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox