Skip to content

Traceback when continuing from source #7

@Talanor

Description

@Talanor

When a source command executes a file with a continue instruction, gxf produces the following traceback:

[Inferior 1 (process 20970) exited normally]
-----------------------------------registers------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/commands.py", line 230, in invoke
    self.run(args)
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/extensions/registers.py", line 22, in run
    regs = gxf.Registers()
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/cpu.py", line 45, in __init__
    data = gxf.execute("info registers", False, True)
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/basics.py", line 15, in execute
    return gdb.execute(cmd, tty, tostr)
gdb.error: The program has no registers now.
--------------------------------------code--------------------------------------
usage: gx heading [-h] [-c COUNT] [-b BEFORE] what
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/commands.py", line 230, in invoke
    self.run(args)
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/extensions/context.py", line 33, in run
    gxf.execute("gx heading $pc -b3 -c5", True, False)
  File "/usr/local/lib/python3.4/dist-packages/gxf-0.1.0-py3.4.egg/gxf/basics.py", line 15, in execute
    return gdb.execute(cmd, tty, tostr)
gdb.error: gx heading: error: argument what: No registers.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions