Hi,

this is the patch from PR tdep/34198. It fixes an internal
segmentation fault in z80_skip_prologue when setting "break main" on
some Z80 binaries. "break *main" works, which points at the
prologue/SAL path.

Regression-tested manually with the reproducer from the PR.

Thanks,
Ronald

https://sourceware.org/bugzilla/show_bug.cgi?id=34198