bugGforth - Bugs: bug #32076, Disassembler creates invalid...

 
 

bug #32076: Disassembler creates invalid command for gdb 7.1

Submitted by:  Harold Rabbie <harold>
Submitted on:  Fri 07 Jan 2011 11:47:40 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Jan 2011 03:49:31 PM UTC, comment #1:

Fixed in the development version.

Unfortunately, the change in gdb also made the disassemble command useless for Gforth (disassembles whole functions instead of the specified address range), so we will have to look for another alternative.

Anton Ertl <anton>
Project Administrator
Fri 07 Jan 2011 11:47:40 PM UTC, original submission:

The gforth disassembler creates a temporary file containing gdb commands, for example:

set verbose off
set logging file /tmp/gforthdis.bYKzp3OlGS
set logging on
disas 0x16CA0 0x16CE0
set logging off
quit

The command "disas 0x16CA0 0x16CE0" causes an error message
"A syntax error in expression, near '0x16CE0'." when executed on gdb 7.1

According to the gdb documentation, the correct syntax is: "disassemble start,end" i.e. a comma delimiter is required between the fields, not a space.

See https://savannah.gnu.org/bugs/?30579 for a similar bug with a different package.

Harold Rabbie <harold>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by paysan (Updated the item)
  • -email is unavailable- added by anton (Posted a comment)
  • -email is unavailable- added by harold (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-19 paysan Open/ClosedOpen => Closed
    2011-01-08 anton StatusNone => Fixed

    Back to the top


    Powered by Savane 3.3