public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/14917] New: Declare globals in a header file "extern"
@ 2012-12-04 15:46 d.g.gorbachev at gmail dot com
2012-12-05 14:56 ` [Bug build/14917] " cvs-commit at gcc dot gnu.org
2012-12-05 14:57 ` tromey at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-12-04 15:46 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14917
Bug #: 14917
Summary: Declare globals in a header file "extern"
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: d.g.gorbachev@gmail.com
Classification: Unclassified
It would be better if the variables current_insn_ptr and emit_error in
gdb/gdbserver/server.h (near the end of file; defined in ax.c) were extern.
Otherwise, errors happen when building GDB with GCC option -fno-common.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/14917] Declare globals in a header file "extern"
2012-12-04 15:46 [Bug build/14917] New: Declare globals in a header file "extern" d.g.gorbachev at gmail dot com
@ 2012-12-05 14:56 ` cvs-commit at gcc dot gnu.org
2012-12-05 14:57 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-12-05 14:56 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14917
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-12-05 14:56:24 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2012-12-05 14:56:19
Modified files:
gdb/gdbserver : ChangeLog server.h
Log message:
PR gdb/14917:
* server.h (current_insn_ptr, emit_error): Declare 'extern'.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.651&r2=1.652
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/server.h.diff?cvsroot=src&r1=1.101&r2=1.102
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug build/14917] Declare globals in a header file "extern"
2012-12-04 15:46 [Bug build/14917] New: Declare globals in a header file "extern" d.g.gorbachev at gmail dot com
2012-12-05 14:56 ` [Bug build/14917] " cvs-commit at gcc dot gnu.org
@ 2012-12-05 14:57 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-12-05 14:57 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14917
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tromey at redhat dot com
Resolution| |FIXED
Target Milestone|--- |7.6
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-12-05 14:57:18 UTC ---
Fixed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-05 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 15:46 [Bug build/14917] New: Declare globals in a header file "extern" d.g.gorbachev at gmail dot com
2012-12-05 14:56 ` [Bug build/14917] " cvs-commit at gcc dot gnu.org
2012-12-05 14:57 ` tromey at redhat dot com
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).