This is the mail archive of the gdb-prs@sources.redhat.com 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]

breakpoints/1144: Same as 1042, but with example


>Number:         1144
>Category:       breakpoints
>Synopsis:       Same as 1042, but with example
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 20:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     William Deegan
>Release:        Development snapshot from 2003/03/14
>Organization:
>Environment:
Solaris 7, gcc 3.2.2, GNU gdb 20030314
>Description:
With a simple program compile with -g I am unable to put a breakpoint on main. The error message is the same as bug 1042, but I have example code.
>How-To-Repeat:
gdb a.out
break main
run
------------
 gdb a.out
GNU gdb 20030314
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
(gdb) b main
Breakpoint 1 at 0x844: file pointersize.c, line 5.
(gdb) r
Starting program: /workspace/deegan/tmp/a.out
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x844: I/O error.

(gdb) Quit
-----------------

Let me know if you need more information.
As far as I know this system has the latest Solaris patches.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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