public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Default Alpha/VMS to DWARF2 debugging only
@ 2021-09-10  6:52 Richard Biener
  2021-09-10 13:47 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Biener @ 2021-09-10  6:52 UTC (permalink / raw)
  To: gcc-patches; +Cc: douglas.b.rupp, tgingold, rth

This changes the default debug format for Alpha/VMS to DWARF2 only,
skipping emission of VMS debug info which is going do be deprecated
for GCC 12 alongside the support for STABS.

It looks like other flavors of VMS never used VMS_DEBUG by default
but only the alpha port did.

I have no good means to test anything here, it might be that we have
alpha-vms specific testcases that rely on the previous default.

OK for trunk?

Thanks,
Richard.

2021-09-10  Richard Biener  <rguenther@suse.de>

	* config/alpha/vms.h (PREFERRED_DEBUGGING_TYPE): Define to
	DWARF2_DEBUG.
---
 gcc/config/alpha/vms.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h
index b8673b6b6fb..2a9917cde62 100644
--- a/gcc/config/alpha/vms.h
+++ b/gcc/config/alpha/vms.h
@@ -244,7 +244,7 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info;
  while (0)
 
 #undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE VMS_AND_DWARF2_DEBUG
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 
 #define ASM_PN_FORMAT "%s___%lu"
 
-- 
2.31.1

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

* Re: [PATCH] Default Alpha/VMS to DWARF2 debugging only
  2021-09-10  6:52 [PATCH] Default Alpha/VMS to DWARF2 debugging only Richard Biener
@ 2021-09-10 13:47 ` Jeff Law
  2021-09-10 16:12   ` Douglas Rupp
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2021-09-10 13:47 UTC (permalink / raw)
  To: Richard Biener, gcc-patches; +Cc: tgingold, douglas.b.rupp



On 9/10/2021 12:52 AM, Richard Biener via Gcc-patches wrote:
> This changes the default debug format for Alpha/VMS to DWARF2 only,
> skipping emission of VMS debug info which is going do be deprecated
> for GCC 12 alongside the support for STABS.
>
> It looks like other flavors of VMS never used VMS_DEBUG by default
> but only the alpha port did.
>
> I have no good means to test anything here, it might be that we have
> alpha-vms specific testcases that rely on the previous default.
>
> OK for trunk?
>
> Thanks,
> Richard.
>
> 2021-09-10  Richard Biener  <rguenther@suse.de>
>
> 	* config/alpha/vms.h (PREFERRED_DEBUGGING_TYPE): Define to
> 	DWARF2_DEBUG.
It's a dead target, so yea, go for it.  Worst case it breaks someone 
notices and we know someone still cares about alpha-vms :-)

Jeff


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

* Re: [PATCH] Default Alpha/VMS to DWARF2 debugging only
  2021-09-10 13:47 ` Jeff Law
@ 2021-09-10 16:12   ` Douglas Rupp
  0 siblings, 0 replies; 3+ messages in thread
From: Douglas Rupp @ 2021-09-10 16:12 UTC (permalink / raw)
  To: Jeff Law; +Cc: Richard Biener, gcc-patches, tgingold

Dwarf2 only works with an ancient GDB. VMS style was useful because it
implemented enough to get a trace back.

But as you say it’s dead, so no basis for objection.

On Fri, Sep 10, 2021 at 6:47 AM Jeff Law <jeffreyalaw@gmail.com> wrote:

>
>
> On 9/10/2021 12:52 AM, Richard Biener via Gcc-patches wrote:
> > This changes the default debug format for Alpha/VMS to DWARF2 only,
> > skipping emission of VMS debug info which is going do be deprecated
> > for GCC 12 alongside the support for STABS.
> >
> > It looks like other flavors of VMS never used VMS_DEBUG by default
> > but only the alpha port did.
> >
> > I have no good means to test anything here, it might be that we have
> > alpha-vms specific testcases that rely on the previous default.
> >
> > OK for trunk?
> >
> > Thanks,
> > Richard.
> >
> > 2021-09-10  Richard Biener  <rguenther@suse.de>
> >
> >       * config/alpha/vms.h (PREFERRED_DEBUGGING_TYPE): Define to
> >       DWARF2_DEBUG.
> It's a dead target, so yea, go for it.  Worst case it breaks someone
> notices and we know someone still cares about alpha-vms :-)
>
> Jeff
>
>

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

end of thread, other threads:[~2021-09-10 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  6:52 [PATCH] Default Alpha/VMS to DWARF2 debugging only Richard Biener
2021-09-10 13:47 ` Jeff Law
2021-09-10 16:12   ` Douglas Rupp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).