public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Default AVR to DWARF2 debug
@ 2021-09-10  7:13 Richard Biener
  2021-09-10 13:48 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Biener @ 2021-09-10  7:13 UTC (permalink / raw)
  To: gcc-patches; +Cc: chertykov, avr

This switches the AVR port to generate DWARF2 debugging info by
default since the support for STABS is going to be deprecated for
GCC 12.

OK for trunk?

Thanks,
Richard.

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

	* config/avr/elf.h (PREFERRED_DEBUGGING_TYPE): Remove
	override, pick up DWARF2_DEBUG define from elfos.h
---
 gcc/config/avr/elf.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gcc/config/avr/elf.h b/gcc/config/avr/elf.h
index 2f0eb0de775..5f2d1e03936 100644
--- a/gcc/config/avr/elf.h
+++ b/gcc/config/avr/elf.h
@@ -22,9 +22,6 @@
 
 #undef PCC_BITFIELD_TYPE_MATTERS
 
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
 #undef MAX_OFILE_ALIGNMENT
 #define MAX_OFILE_ALIGNMENT (32768 * 8)
 
-- 
2.31.1

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

* Re: [PATCH] Default AVR to DWARF2 debug
  2021-09-10  7:13 [PATCH] Default AVR to DWARF2 debug Richard Biener
@ 2021-09-10 13:48 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2021-09-10 13:48 UTC (permalink / raw)
  To: Richard Biener, gcc-patches; +Cc: chertykov, avr



On 9/10/2021 1:13 AM, Richard Biener via Gcc-patches wrote:
> This switches the AVR port to generate DWARF2 debugging info by
> default since the support for STABS is going to be deprecated for
> GCC 12.
>
> OK for trunk?
>
> Thanks,
> Richard.
>
> 2021-09-10  Richard Biener  <rguenther@suse.de>
>
> 	* config/avr/elf.h (PREFERRED_DEBUGGING_TYPE): Remove
> 	override, pick up DWARF2_DEBUG define from elfos.h
OK.  And my tester does spin avr-elf, so if there's major breakage we'll 
know.

jeff

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  7:13 [PATCH] Default AVR to DWARF2 debug Richard Biener
2021-09-10 13:48 ` Jeff Law

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).