public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca>]
* [Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails
[not found] <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca>
@ 2010-07-29 19:40 ` danglin at gcc dot gnu dot org
2010-07-30 10:19 ` pedro at codesourcery dot com
1 sibling, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-07-29 19:40 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From danglin at gcc dot gnu dot org 2010-07-29 19:40 -------
Current status is:
gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/..
-I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber
-I../../src/gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -Wall -Wdeclaration-after-statement -Wpointer-arith
-Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value
-Wunused-function -Wno-switch -Wno-char-subscripts -c -o hpux-thread.o -MT
hpux-thread.o -MMD -MP -MF .deps/hpux-thread.Tpo -I../../src/gdb/osf-share
-I../../src/gdb/osf-share/HP800 \
-I/usr/include/dce ../../src/gdb/hpux-thread.c
../../src/gdb/hpux-thread.c: In function 'hpux_thread_store_registers':
../../src/gdb/hpux-thread.c:349: warning: passing argument 1 of
'deprecated_child_ops.to_store_registers' from incompatible pointer type
../../src/gdb/hpux-thread.c:349: note: expected 'struct target_ops *' but
argument is of type 'struct regcache *'
../../src/gdb/hpux-thread.c:349: warning: passing argument 2 of
'deprecated_child_ops.to_store_registers' makes pointer from integer without a cast
../../src/gdb/hpux-thread.c:349: note: expected 'struct regcache *' but argument
is of type 'int'
../../src/gdb/hpux-thread.c:349: error: too few arguments to function
'deprecated_child_ops.to_store_registers'
../../src/gdb/hpux-thread.c: In function 'init_hpux_thread_ops':
../../src/gdb/hpux-thread.c:551: warning: assignment from incompatible pointer type
../../src/gdb/hpux-thread.c:563: warning: assignment from incompatible pointer type
make[2]: *** [hpux-thread.o] Error 1
--
http://sourceware.org/bugzilla/show_bug.cgi?id=8516
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails
[not found] <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca>
2010-07-29 19:40 ` danglin at gcc dot gnu dot org
@ 2010-07-30 10:19 ` pedro at codesourcery dot com
1 sibling, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2010-07-30 10:19 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From pedro at codesourcery dot com 2010-07-30 10:19 -------
Thanks Dave.
Hmmm, hpux-thread.c is:
- implemented on top of deprecated_child_ops. deprecated_child_ops is
just a dummy target that does nothing. This was an alternative to removing
hpux-thread.c completely at some point in the past. So this file is just
dead wait at this point, patiently waiting for someone to salvage it.
- implemented as a process_stratum target using the ancient
child_suppress_run hack. Salvaging this target would mean turning it
into a thread_stratum target. I'm looking at the code, and I can
tell you that without adding any new features, just translating the
mechanisms, that most of the file would disappear. The mildly interesting
bits left are the register access code, and the objfile callback that
detects the thread support is active in the inferior. We're talking about
a couple dozens of lines of code.
- The bit rot breaking the build is now in the register access code...
So, although the build breakage this time is probably easy to fix, IMO,
we should just move the file into the attic. It may
be even less work to start from scratch than to resurrect it into functional
state. The file will always be in the attic for anyone wanting to salvage
this. (I didn't go look for the current debian patch to see what they did to
this file.)
Comments/Objections?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=8516
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-27 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-8516-4717@http.sourceware.org/bugzilla/>
2012-10-24 16:55 ` [Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails palves at redhat dot com
2012-10-27 14:08 ` danglin at gcc dot gnu.org
[not found] <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca>
2010-07-29 19:40 ` danglin at gcc dot gnu dot org
2010-07-30 10:19 ` pedro at codesourcery 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).