Skip to content

GDB attach regression #4

@joe-graham

Description

@joe-graham

Because of changes made in this issue, the gdbserver on the ASA no longer sends "Remote debugging using /dev/ttyS0" over the serial line, which is what comm.py uses to signal that booting has finished.

I messed around a bit with getting gdbserver to respond to characters periodically sent over the serial line, but ran into issues getting that working. A somewhat simplistic fix that I tested is instead waiting for the "dosfsck(/dev/hda1) returned 0" string, sleeping for ten seconds, then breaking the while loop. Let me know if that works for you guys and I'll open a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions