[Bug 211305] devel/gdb: (CORE_ADDR) 0 missing * in cast in tui/tui-stack.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 22 21:30:36 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211305
Bug ID: 211305
Summary: devel/gdb: (CORE_ADDR) 0 missing * in cast in
tui/tui-stack.c
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: markmi at dsl-only.net
CC: luca.pizzamiglio at gmail.com
CC: luca.pizzamiglio at gmail.com
Flags: maintainer-feedback?(luca.pizzamiglio at gmail.com)
FYI:
extern int find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, const char **name,
CORE_ADDR *address,
CORE_ADDR *endaddr,
int *is_gnu_ifunc_p);
But tui/tui-stack.c has:
if (find_pc_partial_function (get_frame_pc (fi),
(const char **) NULL,
&low, (CORE_ADDR) 0) == 0)
which ends up with a compiler report (11.0-BETA2 on armv6's clang 3.8.0):
./tui/tui-stack.c:419:16: warning: expression which evaluates to zero treated
as a null pointer constant of type 'CORE_ADDR *' (aka 'unsigned long long *')
[-Wnon-literal-null-conversion]
because (CORE_ADDR) should be (CORE_ADDR*) to match types with the parameter.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list