From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00F483858C31; Thu, 12 Jan 2023 17:35:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00F483858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673544937; bh=KBxMej/BhE5423RuTLYvRFJ8IL1M6b1BcQs524ldbxw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h2xU2pbh5fUZGlp9wVs42ctEGoqArij442gj1oCRp11bJstGnDGcxhQZKB2Q7p5cg C0LYb5shLCyBliIWk9XSLaBOUlV2zZvpT8Bf6MT9l31Q+Xi1N/idjO/FV1SBVwH24M YWZhuuFqdtjjtUcZcpOspG5SxsQCRnLTMjJmaoX4= From: "cel at us dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29989] PowerPC, gdb fails to stop at printf call Date: Thu, 12 Jan 2023 17:35:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cel at us dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29989 --- Comment #1 from Carl E Love --- I was given a suggestion of trying rbreak printf. When I run this command I get asked Make breakpoint pending on future shared library load? (y or [n])=20 after answering the question a buzillion times you eventually get back to t= he gdb prompt. 00000020.plt_call._dl_fatal_printf@@GLIBC_PRIVATE; Breakpoint 1062 at 0x7ffff7bdb9b4 _dl_fatal_printf@plt; (gdb)=20 (gdb)=20 (gdb) c Continuing. Breakpoint 157, 0x00000000100005a0 in 0000001b.plt_call.__printfieee128@@GLIBC_2.32 () not sure exactly where we are but if we do a few step commands we then see (gdb) s Single stepping until exit from function __printfieee128@plt, which has no line number information. (gdb) s Single stepping until exit from function __glink_PLTresolve, which has no line number information. ___ieee128_printf (format=3D0x10000920 "value is %d\n") at ../sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf.c:24 24 { (gdb) list 19 #include 20 #include 21=20=20=20=20=20=20 22 extern int 23 ___ieee128_printf (const char *format, ...) 24 { 25 va_list ap; 26 int done; 27=20=20=20=20=20=20 28 va_start (ap, format); not sure what all this means yet but thought is was interesting. --=20 You are receiving this mail because: You are on the CC list for the bug.=