public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/32434] New: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git
@ 2024-12-09 10:40 phi.debian at gmail dot com
2024-12-09 10:53 ` [Bug breakpoints/32434] " mark at klomp dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: phi.debian at gmail dot com @ 2024-12-09 10:40 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32434
Bug ID: 32434
Summary: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: phi.debian at gmail dot com
Target Milestone: ---
s390
Ubuntu 22.04.5 LTS
GNU gdb (GDB) 16.0.50.20241209-git
build gives
-----------------------------------------------------------
_nat_target::remove_watchpoint(CORE_ADDR, int, target_hw_bp_type,
expression*)’:
../../gdb/s390-linux-nat.c:875:11: error: ‘unordered_remove’ was not declared
in this scope
875 | unordered_remove (state->watch_areas, ix);
| ^~~~~~~~~~~~~~~~
../../gdb/s390-linux-nat.c: In member function ‘virtual int
s390_linux_nat_target::remove_hw_breakpoint(gdbarch*, bp_target_info*)’:
../../gdb/s390-linux-nat.c:928:11: error: ‘unordered_remove’ was not declared
in this scope
928 | unordered_remove (state->break_areas, ix);
| ^~~~~~~~~~~~~~~~
-----------------------------------------------------------
Adding line in s390-linux-nat.c seems to cure
47a48,49
> #include "gdbsupport/gdb_vecs.h"
>
Dunno if this is the right thing to do though.
Cheers,
Phi
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/32434] s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git
2024-12-09 10:40 [Bug breakpoints/32434] New: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git phi.debian at gmail dot com
@ 2024-12-09 10:53 ` mark at klomp dot org
2024-12-09 14:20 ` mark at klomp dot org
2024-12-09 15:48 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2024-12-09 10:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32434
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-12-09
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
See also this fix:
https://inbox.sourceware.org/gdb-patches/20241207004547.246474-1-mark@klomp.org/T/#u
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/32434] s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git
2024-12-09 10:40 [Bug breakpoints/32434] New: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git phi.debian at gmail dot com
2024-12-09 10:53 ` [Bug breakpoints/32434] " mark at klomp dot org
@ 2024-12-09 14:20 ` mark at klomp dot org
2024-12-09 15:48 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2024-12-09 14:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32434
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
commit fea53b8bb575871eaf258f5c3a407daf2d61e797
Author: Mark Wielaard <mark@klomp.org>
Date: Sat Dec 7 01:37:53 2024 +0100
Include gdbsupport/gdb_vecs.h in gdb/s390-linux-nat.c
Commit c8889b913175 ("gdb, gdbserver, gdbsupport: remove some unused
gdb_vecs.h includes") removed gdbsupport/gdb_vecs.h from various
header files. This caused an compile issue for gdb/s390-linux-nat.c
../../binutils-gdb/gdb/s390-linux-nat.c: In member function ‘virtual int
s390_linux_nat_target::remove_watchpoint(CORE_ADDR, int, target_hw_bp_type,
expression*)’:
../../binutils-gdb/gdb/s390-linux-nat.c:875:11: error: ‘unordered_remove’
was not declared in this scope
875 | unordered_remove (state->watch_areas, ix);
| ^~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/s390-linux-nat.c: In member function ‘virtual int
s390_linux_nat_target::remove_hw_breakpoint(gdbarch*, bp_target_info*)’:
../../binutils-gdb/gdb/s390-linux-nat.c:928:11: error: ‘unordered_remove’
was not declared in this scope
928 | unordered_remove (state->break_areas, ix);
| ^~~~~~~~~~~~~~~~
Fix this by including gdbsupport/gdb_vecs.h in gdb/s390-linux-nat.c.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/32434] s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git
2024-12-09 10:40 [Bug breakpoints/32434] New: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git phi.debian at gmail dot com
2024-12-09 10:53 ` [Bug breakpoints/32434] " mark at klomp dot org
2024-12-09 14:20 ` mark at klomp dot org
@ 2024-12-09 15:48 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2024-12-09 15:48 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=32434
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
Target Milestone|--- |16.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-09 15:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-09 10:40 [Bug breakpoints/32434] New: s390: Build failure GNU gdb (GDB) 16.0.50.20241209-git phi.debian at gmail dot com
2024-12-09 10:53 ` [Bug breakpoints/32434] " mark at klomp dot org
2024-12-09 14:20 ` mark at klomp dot org
2024-12-09 15:48 ` vries at gcc dot gnu.org
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).