Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596000 - sys-devel/gdb should default to USE=expat for `catch syscall` command
Summary: sys-devel/gdb should default to USE=expat for `catch syscall` command
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-03 01:31 UTC by Jan Kundrát (RETIRED)
Modified: 2016-11-15 19:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2016-10-03 01:31:44 UTC
(gdb) catch syscall write
warning: Can not parse XML syscalls information; XML support was disabled at compile time.
Unknown syscall name 'write'.

As a developer, I installed GDB because I want to debug software. Catching syscalls is something which belongs to that task, so it makes sense to install GDB with support for human-readable syscalls by default.
Comment 1 SpanKY gentoo-dev 2016-11-11 22:29:42 UTC
that's a weak argument

seems like USE=expat in gdb should really be USE=xml since it's controlling whether gdb gets to support parsing of XML files, not whether it should use expat over some other lib (like libxml2).  in which case many profiles enable USE=xml by default.  then this request is moot.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2016-11-14 08:53:35 UTC
I'm of course OK with USE=xml as well.
Comment 3 SpanKY gentoo-dev 2016-11-15 19:29:16 UTC
i've made that update to 7.12.  let's see what goes boom!

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d75f26d7c1add1cd23c8d7442b6545fa8a01a8