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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 Jan 2011 03:49:31 PM UTCantonStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup