Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: rbrown64@csc.com.au
To: gdb@sources.redhat.com
Subject: Re: HP-UX and 0713 snapshot
Date: Wed, 18 Jul 2001 03:40:00 -0000	[thread overview]
Message-ID: <OFD25F0AC0.E89A1016-ONCA256A8D.00372512@int.csc.com.au> (raw)

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


             reply	other threads:[~2001-07-18  3:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18  3:40 rbrown64 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-17 11:12 Michael Elizabeth Chastain
2001-07-17  5:29 RDBrown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFD25F0AC0.E89A1016-ONCA256A8D.00372512@int.csc.com.au \
    --to=rbrown64@csc.com.au \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox