Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* HP-UX and 0713 snapshot
@ 2001-07-17  5:29 RDBrown
  0 siblings, 0 replies; 3+ messages in thread
From: RDBrown @ 2001-07-17  5:29 UTC (permalink / raw)
  To: gdb; +Cc: chastain

From memory - in case someone can fix HP-UX support before the branch.

On hppa2.0-hp-hpux10.20 with the no_shared_libraries stub,
gdb linked successfully.
Running the new build on itself `hung' - using no CPU.
Sending a SIGHUP to the child gdb gave a semaphore out of sequence
message (maybe) & then the child gdb continued as normal.

On hppa1.1-hp-hpux11.00, infttrace.c fails to compile.

I'll fill this out tommorrow.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HP-UX and 0713 snapshot
@ 2001-07-18  3:40 rbrown64
  0 siblings, 0 replies; 3+ messages in thread
From: rbrown64 @ 2001-07-18  3:40 UTC (permalink / raw)
  To: gdb

Belated,

bash-2.02$ gdb/gdb gdb/gdb
GNU gdb 20010713 (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0-hp-hpux10.20"...
(gdb) r
Starting program: /devel/span/rdb/src/gdb+dejagnu-20010713.obj/gdb/gdb
#
# After waiting a while sent a SIGHUP to the child gdb and got the following
# message.
#
warning: mismatched semaphore magic
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
GNU gdb 20010713 (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0-hp-hpux10.20".
(gdb) q
Child process unexpectedly missing: No child processes.

Program terminated with signal ?, Unknown signal.
The program no longer exists.
bash-2.02$ exit

script done on Tue Jul 17 13:11:15 2001
Script started on Wed Jul 18 15:55:02 2001
bash-2.02$ pwd
/devel/span/rdb/src/gdb+dejagnu-20010713.obj
bash-2.02$ cd ../gdb*4.95.1.obj
bash-2.02$ gdb/gdb gdb/gdb
GNU gdb 4.95.1
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0-hp-hpux10.20"...
(gdb) r
Starting program: /devel/span/rdb/src/gdb-4.95.1.obj/gdb/gdb
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
GNU gdb 4.95.1
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0-hp-hpux10.20".
(gdb) q
Child process unexpectedly missing: No child processes.

Program terminated with signal ?, Unknown signal.
The program no longer exists.
(gdb) q

My fiddling with hppah-nat.c to close the semaphore pipes after the write and lengthen
the sleep time from 1 to 5 seconds hasn't accomplished anything .... similar behaviour.

On hppa1.1-hp-hpux11.00, the build fails because of

../../gdb+dejagnu-20010713/gdb/infttrace.c:2601: conflicting types for `ptrace_wait'
../../gdb+dejagnu-20010713/gdb/inferior.h:244: previous declaration of `ptrace_wait'
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `ptrace_wait':
../../gdb+dejagnu-20010713/gdb/infttrace.c:2891: incompatible type for argument 1 of indirect function call

ptrace_wait is declared as returning int in inferior.h and ptid_t in infttrace.c. From a quick grep it seems
to be only used in inf{p,t}trace.c - so maybe pulling the declaration from inferior.h and leaving it's return type
a secret of the two declarers and users would permit a link - though the infttrace version didn't seem to be
trying to provide a return structure ...

gcc -c -g -O2  -D__HP_CURSES  -I. -I../../gdb+dejagnu-20010713/gdb -I../../gdb+dejagnu-20010713/gdb/config -DHAVE_CONFIG_H
-I../../gdb+dejagnu-20010713/gdb/../include/opcode -I../../gdb+dejagnu-20010713/gdb/../readline/.. -I../bfd -I../../gdb+dejagnu-20010713/gdb/../bfd
-I../../gdb+dejagnu-20010713/gdb/../include -I../intl -I../../gdb+dejagnu-20010713/gdb/../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type
-Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  ../../gdb+dejagnu-20010713/gdb/infttrace.c
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `get_raw_pc':
../../gdb+dejagnu-20010713/gdb/infttrace.c:401: warning: implicit declaration of function `read_from_register_save_state'
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `map_to_gdb_tid':
../../gdb+dejagnu-20010713/gdb/infttrace.c:814: warning: suggest explicit braces to avoid ambiguous `else'
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `get_process_first_stopped_thread_id':
../../gdb+dejagnu-20010713/gdb/infttrace.c:1372: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `get_process_next_stopped_thread_id':
../../gdb+dejagnu-20010713/gdb/infttrace.c:1421: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `write_protect_page':
../../gdb+dejagnu-20010713/gdb/infttrace.c:2396: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: At top level:
../../gdb+dejagnu-20010713/gdb/infttrace.c:2601: conflicting types for `ptrace_wait'
../../gdb+dejagnu-20010713/gdb/inferior.h:244: previous declaration of `ptrace_wait'
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `ptrace_wait':
../../gdb+dejagnu-20010713/gdb/infttrace.c:2891: incompatible type for argument 1 of indirect function call
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `require_notification_of_events':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3045: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `require_notification_of_exec_events':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3085: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `child_acknowledge_created_inferior':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3126: warning: implicit declaration of function `add_thread'
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_enable_catch_fork':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3171: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3187: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_disable_catch_fork':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3205: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3222: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_enable_catch_vfork':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3267: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3284: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_disable_catch_vfork':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3302: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3318: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `child_has_forked':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3379: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `child_has_vforked':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3422: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `child_has_execd':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3503: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `child_has_syscall_event':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3547: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `read_from_register_save_state':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3623: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `write_to_register_save_state':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3655: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `call_ptrace':
../../gdb+dejagnu-20010713/gdb/infttrace.c:3701: warning: passing arg 3 of `read_from_register_save_state' from incompatible pointer type
../../gdb+dejagnu-20010713/gdb/infttrace.c:3711: warning: passing arg 3 of `write_to_register_save_state' from incompatible pointer type
../../gdb+dejagnu-20010713/gdb/infttrace.c:3720: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3730: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3756: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:3762: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_enable_syscall_events':
../../gdb+dejagnu-20010713/gdb/infttrace.c:5357: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:5369: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_disable_syscall_events':
../../gdb+dejagnu-20010713/gdb/infttrace.c:5386: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c:5398: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_range_profitable_for_hw_watchpoint':
../../gdb+dejagnu-20010713/gdb/infttrace.c:5616: warning: cast from pointer to integer of different size
../../gdb+dejagnu-20010713/gdb/infttrace.c: In function `hppa_pid_or_tid_to_str':
../../gdb+dejagnu-20010713/gdb/infttrace.c:5642: warning: implicit declaration of function `pid_to_thread_id'
make[1]: *** [infttrace.o] Error 1
make[1]: Leaving directory `/devel/src/gdb+dejagnu-20010713.obj/gdb'
make: *** [all-gdb] Error 2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HP-UX and 0713 snapshot
@ 2001-07-17 11:12 Michael Elizabeth Chastain
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2001-07-17 11:12 UTC (permalink / raw)
  To: RDBrown; +Cc: gdb

I built some hppa1.1-hp-hpux10.20 about six months ago (before
no_shared_libraries went in), and I had problems running gdb
on any executable, even a static-linked "hello.c".  gdb would hang
whenever the inferior ran.

I think it would be useful to:

. pick a set of configurations to care about.  I would pick
  native hppa1.1-hp-hpux11.00 and native hppa2.0w-hp-hpux11.00 or native
  hppa64-hp-hpux11.00.  I don't know how many people in the field still
  use hpux 10.20, but I think we need some triage here.

. build and test with the gdb 5.0 release tarball.

. roll forward from there and find the last working snapshots or
  CVS checkouts.

Michael C


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-18  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17  5:29 HP-UX and 0713 snapshot RDBrown
2001-07-17 11:12 Michael Elizabeth Chastain
2001-07-18  3:40 rbrown64

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox