home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gdb / bug / 1008 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.1 KB  |  33 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!citron.sw.stratus.com!pfieland
  3. From: pfieland@citron.sw.stratus.com (Peggy Fieland)
  4. Subject: Re: Bug in gdb-4.6.
  5. Message-ID: <5944@transfer.stratus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Stratus Computer, Software Engineering
  8. References: <9208262206.AA02539@ncube.think.com>
  9. Distribution: gnu
  10. Date: Thu, 27 Aug 1992 14:10:06 GMT
  11. Approved: bug-gdb@prep.ai.mit.edu
  12. Lines: 19
  13.  
  14. When setting breakpoints using an assembly language address it
  15. is necessary to use an asterisk (*) before the address, ie,
  16.  
  17. citron-tests% gdb misc
  18. GDB is free software and you are welcome to distribute copies of it
  19.  under certain conditions; type "show copying" to see the conditions.
  20. There is absolutely no warranty for GDB; type "show warranty" for details.
  21. GDB 4.3, Copyright 1991 Free Software Foundation, Inc...
  22. (gdb) info line 7
  23. Line 7 of "misc.c" starts at pc 0x22ae and ends at 0x22b2.
  24. (gdb) b *0x22ae
  25. Breakpoint 1 at 0x22ae: file misc.c, line 7.
  26. (gdb)
  27.  
  28.  
  29. You can find this in the manual in section 5.1.1, setting breakpoints.
  30.  
  31. Peggy
  32.  
  33.