This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17394] New: The user cannot put a break-point at a global function only for a selected ASM file.


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

            Bug ID: 17394
           Summary: The user cannot put a break-point at a global function
                    only for a selected ASM file.
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: mihail.nistor at freescale dot com

Created attachment 7787
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7787&action=edit
version information and test case to reproduce this problem.

In order to reproduce this problem please follow steps below:
1) Compile the application by using the following command: gcc -O0 -g main.c
file.s 
2) Start a gdb console in that directory, type the gdb command.
3) In the gdb console type the file a.out command.
4) Try to set a breakpoint at func only for the file.s file, the command is: b
file.s:func

Please observe that the break-point cannot be computed, so the gdb report the
following message: 
Function "func" not defined in "file.s".
Make break-point pending on future shared library load? (y or [n])

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]