public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "mehmetgelisin at aol dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/27009] [s390] GDB branches randomly for BC instruction while displaced stepping
Date: Fri, 10 Sep 2021 19:38:41 +0000	[thread overview]
Message-ID: <bug-27009-4717-EGM3bpKkiY@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-27009-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=27009

Mehmet gelisin <mehmetgelisin at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol dot com

--- Comment #8 from Mehmet gelisin <mehmetgelisin at aol dot com> ---
Actually, I made some progress.  The solib-search-path isn't sufficient, I
think GDB opens /lib/libpthread.so.0 on my system. http://www-look-4.com/  It
would be more appropriate to use "set sysroot" in this situation.  When setting
the sysroot, to the base of what you provided, then the correct
/lib/libpthread.so.0 is loaded by GDB. http://www.compilatori.com/

Another note for those trying to reproduce: if you have a --enable-targets=all
GDB, it will (erroneously) http://www.wearelondonmade.com/ detect the core as
having the Symbian osabi and then tell you that it doesn't know how to handle
cores.  Use "set osabi GNU/Linux" to force it to use that osabi.
http://www.jopspeech.com/

So now the status is that I do get a crash, but I think it's not the same as
you, I think it's earlier. http://joerg.li/ I build with --enable-ubsan, and
that looks like an undefined behabior sanitizer message

$ ../gdb -nx --data-directory=../data-directory   http://connstr.net/           
(gdb) set osabi GNU/Linux 
(gdb) set sysroot /home/simark/build/binutils-gdb/gdb/repo
(gdb) file Foo
Reading symbols from Foo... http://embermanchester.uk/ 
(gdb) core-file Foo-core 
warning: Can't open file http://www.slipstone.co.uk/ 
/media/mmcblk0p1/install/usr/bin/Foo during file-backed mapping note processing
warning: Can't open file /lib/libm-2.21.so during file-backed mapping note
processing
warning: Can't open file /lib/libpthread-2.21.so during file-backed mapping
note processing http://www.logoarts.co.uk/ 
warning: Can't open file /lib/libgcc_s.so.1 during file-backed mapping note
processing
warning: Can't open file /media/mmcblk0p1/install/usr/lib/libstdc++.so.6 during
file-backed mapping note processing
warning: Can't open file /lib/libc-2.21.so http://www.acpirateradio.co.uk/ 
during file-backed mapping note processing
warning: Can't open file /lib/ld-2.21.so during file-backed mapping note
processing
[New LWP 29367]
[New LWP 29368] https://waytowhatsnext.com/ 
warning: Could not load shared library symbols for 5 libraries, e.g.
/lib/libc.so.6.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
https://www.webb-dev.co.uk/ 
warning: Unable to find libthread_db matching inferior's thread library, thread
debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread
debugging will not be available. http://www.iu-bloomington.com/ 
Core was generated by `./Foo'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb6c3809c in pthread_cond_wait () from
/home/simark/build/binutils-gdb/gdb/repo/lib/libpthread.so.0
[Current thread is 1 (LWP 29367)]
(gdb) bt
/home/simark/src/binutils-gdb/gdb/arm-tdep.c:1551:30: runtime error: shift
exponent 32 is too large for 32-bit type 'unsigned int'
https://komiya-dental.com/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2021-09-10 19:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 23:07 [Bug breakpoints/27009] New: " gfrix98 at gmail dot com
2020-12-03 23:09 ` [Bug breakpoints/27009] " gfrix98 at gmail dot com
2020-12-06 10:28 ` cvs-commit at gcc dot gnu.org
2020-12-06 10:29 ` brobecker at gnat dot com
2020-12-06 10:31 ` cvs-commit at gcc dot gnu.org
2021-01-31  6:26 ` brobecker at gnat dot com
2021-06-27 17:59 ` ahmedsayeed1982 at yahoo dot com
2021-08-10 12:45 ` ucelsanicin at yahoo dot com
2021-09-02 11:06 ` donipah907 at mtlcz dot com
2021-09-02 11:15 ` mark at klomp dot org
2021-09-06  9:09 ` focixujo at livinginsurance dot co.uk
2021-09-10 19:38 ` mehmetgelisin at aol dot com [this message]
2021-09-22 10:11 ` diheto5497 at secbuf dot com
2021-09-26 13:31 ` tes.vik1986 at gmail dot com
2021-10-09 11:00 ` gulsenenginar at aol dot com
2021-10-17 19:51 ` vmireskazki at gmail dot com
2021-10-19  7:15 ` progonsaytu at gmail dot com
2021-10-24 10:02 ` glassmtech at ukr dot net
2021-11-06 21:13 ` paneki8601 at dukeoo dot com
2021-11-16 19:08 ` xecana8007 at funboxcn dot com
2021-11-16 19:12 ` xecana8007 at funboxcn dot com
2021-11-16 19:15 ` xecana8007 at funboxcn dot com
2021-11-22  7:39 ` gexed96894 at keagenan dot com

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=bug-27009-4717-EGM3bpKkiY@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).