public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>, gdb-patches@sourceware.org
Cc: Phil Muldoon <pmuldoon@redhat.com>
Subject: Re: [PATCH v2 1/2] compile: set debug compile: Display GCC driver filename
Date: Mon, 27 Apr 2015 15:31:00 -0000	[thread overview]
Message-ID: <553E5646.8020708@redhat.com> (raw)
In-Reply-To: <20150423203402.23140.92757.stgit@host1.jankratochvil.net>

On 04/23/2015 09:34 PM, Jan Kratochvil wrote:
> Hi,
> 
> in the mail thread
> 	https://sourceware.org/ml/gdb-patches/2015-04/msg00804.html
> the idea of breaking libcc1.so compatibility was rejected.
> 
> Therefore this patch series implements full backward/forward GCC/GDB ABI
> compatibility.

Thanks.

> 
> As discussed in
> 	How to use compile & execute function in GDB
> 	https://sourceware.org/ml/gdb/2015-04/msg00026.html
> 
> GDB currently searches for /usr/bin/ARCH-OS-gcc and chooses one but it does not
> display which one.  It cannot, GCC method set_arguments() does not yet know
> whether 'set debug compile' is enabled or not.
> 

Hmm, but does it really make sense to add a "verbose" flag to
particular methods incrementally?

It seems to me that "set debug compile" should enable verbosity in
in the plugin, for all methods.  Which in turn suggests to me
that we should have a separate method in the plugin for toggling
verbosity?

Thanks,
Pedro Alves

  parent reply	other threads:[~2015-04-27 15:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23 20:34 Jan Kratochvil
2015-04-23 20:34 ` [PATCH v2 2/2] compile: Add 'set compile-gcc' Jan Kratochvil
2015-04-23 21:08   ` [PATCH v3 " Jan Kratochvil
2015-04-27 15:47     ` Pedro Alves
2015-04-27 17:54       ` Jan Kratochvil
2015-04-27 19:55         ` Pedro Alves
2015-04-27 15:31 ` Pedro Alves [this message]
2015-04-27 16:48   ` [PATCH v2 1/2] compile: set debug compile: Display GCC driver filename Jan Kratochvil
2015-04-27 17:19     ` Pedro Alves
2015-04-27 17:52       ` Jan Kratochvil
2015-04-27 19:17         ` Pedro Alves
2015-04-27 20:44           ` Jan Kratochvil
2015-04-27 20:50           ` Jan Kratochvil
2015-04-27 21:49             ` Phil Muldoon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=553E5646.8020708@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=pmuldoon@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).