[3/3] pdp11: no debugging info

Message ID 4d619e80-1bdd-dc6c-0522-eed662a98dd7@suse.cz
State New, archived
Headers
Series [1/3] STABS: remove -gstabs and -gxcoff functionality |

Commit Message

Martin Liška Sept. 1, 2022, 10:05 a.m. UTC
  gcc/ChangeLog:

	* config/pdp11/pdp11.h (PREFERRED_DEBUGGING_TYPE): Disable
	debugging format.
---
 gcc/config/pdp11/pdp11.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Richard Biener Sept. 1, 2022, 11:21 a.m. UTC | #1
On Thu, Sep 1, 2022 at 12:06 PM Martin Liška <mliska@suse.cz> wrote:
>

OK.

> gcc/ChangeLog:
>
>         * config/pdp11/pdp11.h (PREFERRED_DEBUGGING_TYPE): Disable
>         debugging format.
> ---
>  gcc/config/pdp11/pdp11.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
> index 55e0625e6ea..d783b36b652 100644
> --- a/gcc/config/pdp11/pdp11.h
> +++ b/gcc/config/pdp11/pdp11.h
> @@ -49,8 +49,9 @@ along with GCC; see the file COPYING3.  If not see
>      }                                          \
>    while (0)
>
> +#undef PREFERRED_DEBUGGING_TYPE
> +#define PREFERRED_DEBUGGING_TYPE NO_DEBUG
>
> -/* Generate debugger debugging information.  */
>  #define TARGET_40_PLUS         (TARGET_40 || TARGET_45)
>  #define TARGET_10              (! TARGET_40_PLUS)
>
> --
> 2.37.2
>
  

Patch

diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index 55e0625e6ea..d783b36b652 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -49,8 +49,9 @@  along with GCC; see the file COPYING3.  If not see
     }						\
   while (0)
 
+#undef PREFERRED_DEBUGGING_TYPE
+#define PREFERRED_DEBUGGING_TYPE NO_DEBUG
 
-/* Generate debugger debugging information.  */
 #define TARGET_40_PLUS		(TARGET_40 || TARGET_45)
 #define TARGET_10		(! TARGET_40_PLUS)