This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/23128] New: strlen function doesn't run correctly in gdb
- From: "sourceware at upsuper dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 02 May 2018 03:58:13 +0000
- Subject: [Bug gdb/23128] New: strlen function doesn't run correctly in gdb
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23128
Bug ID: 23128
Summary: strlen function doesn't run correctly in gdb
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: sourceware at upsuper dot org
Target Milestone: ---
Steps to reproduce:
1. run a program in gdb and break wherever you like
2. input "print (int)strlen(0)"
Expected result:
The program should crash due to segmentation fault.
Actual result:
It seems to return the address of __strlen_avx2 for me whatever argument being
used.
--
You are receiving this mail because:
You are on the CC list for the bug.