diff mbox

More trivial bits from early LTO debug merge

Message ID CAGWvnykL+-gka3O-N-_2+jYeFSq7q6qtSy2C0GMLfdtDEF_xOw@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Sept. 20, 2016, 4:35 p.m. UTC
dbxout.c has two definitions of the structure: dbx and xcoff.  The
patch forgot to update the xcoff one (lucky AIX :-).

* dbxout.c (xcoff_debug_hooks):  Add filename parameter to early_finish hook.

Thanks, David

Comments

Richard Biener Sept. 21, 2016, 7:18 a.m. UTC | #1
On Tue, 20 Sep 2016, David Edelsohn wrote:

> dbxout.c has two definitions of the structure: dbx and xcoff.  The
> patch forgot to update the xcoff one (lucky AIX :-).

Oops, sorry.  I wonder why this is all guarded by
#if defined (XCOFF_DEBUGGING_INFO)?  Ah, for some reason everything it
references is not in this file (ok, most of it ...).

Richard.

> * dbxout.c (xcoff_debug_hooks):  Add filename parameter to early_finish hook.
> 
> Thanks, David
> 
> Index: dbxout.c
> ===================================================================
> --- dbxout.c    (revision 240270)
> +++ dbxout.c    (working copy)
> @@ -388,8 +388,8 @@ const struct gcc_debug_hooks xcoff_debug_hooks =
>  {
>    dbxout_init,
>    dbxout_finish,
> +  debug_nothing_charstar,
>    debug_nothing_void,
> -  debug_nothing_void,
>    debug_nothing_int_charstar,
>    debug_nothing_int_charstar,
>    dbxout_start_source_file,
> 
>
diff mbox

Patch

Index: dbxout.c
===================================================================
--- dbxout.c    (revision 240270)
+++ dbxout.c    (working copy)
@@ -388,8 +388,8 @@  const struct gcc_debug_hooks xcoff_debug_hooks =
 {
   dbxout_init,
   dbxout_finish,
+  debug_nothing_charstar,
   debug_nothing_void,
-  debug_nothing_void,
   debug_nothing_int_charstar,
   debug_nothing_int_charstar,
   dbxout_start_source_file,