From: Tom de Vries <tdevries@suse.de>
To: Simon Marchi <simark@simark.ca>, Eli Zaretskii <eliz@gnu.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: --disable-gdbmi build broken
Date: Fri, 10 May 2019 17:01:00 -0000 [thread overview]
Message-ID: <4418b362-9ae5-6631-948c-3a6f0ebf4668@suse.de> (raw)
In-Reply-To: <3e19640c-f4c8-8381-c77f-a636a97510d7@simark.ca>
On 10-05-19 18:21, Simon Marchi wrote:
> On 2019-05-10 6:41 a.m., Tom de Vries wrote:
>> this change breaks the --disable-gdbmi build:
>> ...
>> ld: breakpoint.o: in function `print_one_breakpoint(breakpoint*,
>> bp_location**, int)':
>> src/gdb/breakpoint.c:6365: undefined reference to
>> `mi_multi_location_breakpoint_output_fixed(ui_out*)'
>> collect2: error: ld returned 1 exit status
>> make[1]: *** [Makefile:1893: gdb] Fout 1
>
> Thanks for the report, I will look into fixing this.
>
> Just wondering, do you actually use that configure option or find it useful?
> How did you stumble on this? Last year, Tom Tromey suggested to remove it, but
> we ended up keeping it just in case somebody actually used it, but there wasn't
> convincing evidence that it was actually used:
>
> https://sourceware.org/ml/gdb-patches/2018-07/msg00507.html
>
> So if you actually use that option, it would give us a data point and a reason
> for us to keep it.
I did a bisect today for PR24545 - "Symbol loading performance
regression with cc1" (
https://sourceware.org/bugzilla/show_bug.cgi?id=24545 ), and I wanted a
minimal build time for a fast bisect, so I went to look what
gdb/configure listed as --disable-something options, which is how I
noticed this.
I don't know whether --disable-gdbmi actually makes the build much
shorter, I just used it because it was advertised.
Thanks,
- Tom
next prev parent reply other threads:[~2019-05-10 17:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-18 19:57 [PATCH v2] Fix MI output for multi-location breakpoints Simon Marchi
2019-01-18 21:46 ` Eli Zaretskii
2019-01-21 17:09 ` Simon Marchi
2019-03-13 19:16 ` Simon Marchi
2019-05-10 10:42 ` --disable-gdbmi build broken Tom de Vries
2019-05-10 16:21 ` Simon Marchi
2019-05-10 17:01 ` Tom de Vries [this message]
2019-05-10 18:36 ` Simon Marchi
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=4418b362-9ae5-6631-948c-3a6f0ebf4668@suse.de \
--to=tdevries@suse.de \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=simark@simark.ca \
/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