* bugs happen when building in darwin
@ 2025-02-01 0:29 Li Hua via Gdb
2025-02-01 1:53 ` Thiago Jung Bauermann via Gdb
0 siblings, 1 reply; 2+ messages in thread
From: Li Hua via Gdb @ 2025-02-01 0:29 UTC (permalink / raw)
To: bug-gdb
1:GDB VERSION: GNU gdb (GDB) 16.1 (the latest release downloaded from https://ftp.gnu.org/gnu/gdb/)
2:Configure SETTING:
configure --host=x86_64-apple-darwin19.6.0 --target=x86_64-apple-darwin19.6.0
--with-auto-load-dir=:${prefix}/share/auto-load
--with-auto-load-safe-path=:${prefix}/share/auto-load
--with-expat
--with-gdb-datadir=/usr/local/Cellar/gdb/share/gdb (relocatable)
--with-jit-reader-dir=/usr/local/Cellar/gdb/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--without-babeltrace
--without-intel-pt
--without-xxhash
--without-python
--without-python-libdir
--without-debuginfod
--with-curses
--with-guile
--without-amd-dbgapi
--enable-source-highlight
--enable-threading
--enable-tui
--without-system-readline
--with-separate-debug-dir=/usr/local/Cellar/gdb/lib/debug (relocatable)
("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)
GNU Readline library version: 8.2 (internal)
3:Error(happen when do the 'make' processs):
darwin-nat.c:1949:21: error: use of undeclared identifier 'command_style'
styled_string (command_style.style (), "run"),
^
darwin-nat.c:1950:21: error: use of undeclared identifier 'command_style'
styled_string (command_style.style (),
^
darwin-nat.c:1959:20: error: use of undeclared identifier 'command_style'
styled_string (command_style.style (), "run"),
To this problem, I have personally tried to fix it. And I found the reason causing this error is that the header file "cli/cli-style.h" doesn't been included in "darwin-nat.c". When I add the line '#include "cli/cli-style.h"'
, the error disappears.
Thank you for reading this. Looking forward your reply.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: bugs happen when building in darwin
2025-02-01 0:29 bugs happen when building in darwin Li Hua via Gdb
@ 2025-02-01 1:53 ` Thiago Jung Bauermann via Gdb
0 siblings, 0 replies; 2+ messages in thread
From: Thiago Jung Bauermann via Gdb @ 2025-02-01 1:53 UTC (permalink / raw)
To: Li Hua via Gdb; +Cc: bug-gdb, Li Hua
Hello,
Li Hua via Gdb <gdb@sourceware.org> writes:
> 3:Error(happen when do the 'make' processs):
> darwin-nat.c:1949:21: error: use of undeclared identifier 'command_style'
> styled_string (command_style.style (), "run"),
> ^
> darwin-nat.c:1950:21: error: use of undeclared identifier 'command_style'
> styled_string (command_style.style (),
> ^
> darwin-nat.c:1959:20: error: use of undeclared identifier 'command_style'
> styled_string (command_style.style (), "run"),
>
>
> To this problem, I have personally tried to fix it. And I found the reason causing this error is that the header file "cli/cli-style.h" doesn't been included in "darwin-nat.c". When I add the line '#include "cli/cli-style.h"'
> , the error disappears.
>
> Thank you for reading this. Looking forward your reply.
Thank you for your detailed report! This has also been reported a few
days ago here:
https://sourceware.org/bugzilla/show_bug.cgi?id=32610
The fix you mention has been committed. A new GDB 16.2 release will be
done shortly that will include it.
As an aside, the bug-gdb mailing list has been discontinued. In the
future, it's best to either file a new bug report
https://sourceware.org/bugzilla/ or send an email to the
gdb@sourceware.org mailing list.
--
Thiago
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-01 1:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-01 0:29 bugs happen when building in darwin Li Hua via Gdb
2025-02-01 1:53 ` Thiago Jung Bauermann via Gdb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox