From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F1E503858C27; Wed, 24 Nov 2021 19:27:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1E503858C27 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/28623] New: Missing catching return of execve syscall of PowerPC Date: Wed, 24 Nov 2021 19:27:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2021 19:27:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28623 Bug ID: 28623 Summary: Missing catching return of execve syscall of PowerPC Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: simark at simark dot ca Target Milestone: --- When catching the execve syscall on other architectures, such ash x86-64, we get an entry and return event: $ ./gdb -q --data-directory=3Ddata-directory m64 Reading symbols from m64... (gdb) catch syscall execve Catchpoint 1 (syscall 'execve' [59]) (gdb) r Starting program: /home/smarchi/build/binutils-gdb-all-targets/gdb/m64 Catchpoint 1 (call to syscall execve), 0x00007ffff7ea92fb in execve () = at ../sysdeps/unix/syscall-template.S:78 78 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) c Continuing. process 3592054 is executing new program: /home/smarchi/build/binutils-gdb-all-targets/gdb/m64 Catchpoint 1 (returned from syscall execve), 0x00007ffff7fd0100 in _sta= rt () from /lib64/ld-linux-x86-64.so.2 On PowerPC, we don't get the return: $ ./gdb -q -nx --data-directory=3Ddata-directory ./a.out Reading symbols from ./a.out... (gdb) catch syscall execve Catchpoint 1 (syscall 'execve' [11]) (gdb) r Starting program: /home/simark/build/binutils-gdb/gdb/a.out Catchpoint 1 (call to syscall execve), 0x00007ffff7e6f18c in execve () = from /lib64/libc.so.6 (gdb) c Continuing. process 98693 is executing new program: /home/simark/build/binutils-gdb/gdb/a.out Catchpoint 1 (call to syscall execve), 0x00007ffff7e6f18c in execve () = from /lib64/libc.so.6 --=20 You are receiving this mail because: You are on the CC list for the bug.=