riscvarchive / riscv-binutils-gdb

RISC-V backports for binutils-gdb. Development is done upstream at the FSF.
GNU General Public License v2.0
148 stars 233 forks source link

Allow more verbosity when reaching invalid opcode while prologue scan #236

Closed AntonKrug closed 3 years ago

AntonKrug commented 3 years ago

Handle the invalid instructions slightly differently from the ignored/other instructions

jim-wilson commented 3 years ago

Patches must be sent upstream, and GNU toolchain patches require FSF copyright assignments. Unless perhaps they are trivial and not copyrightable, but there are limits on how many such patches can be accepted without copyright assignments. This would be an issue for the gdb maintainers to discuss. You can send gdb patches to gdb-patches@sourceware.org but if you don't already have a copyright assignment, it might be better to just submit a bug report, and let someone who has an assignment write the necessary patch. If you are interesting in making further contributions to the GNU toolchain, then you should look into getting a copyright assignment. You can start the process by sending email to assign@gnu.org and mentioning what you want to contribute to. A full toolchain assignment would include binutils, gdb, gcc, and glibc for instance. If you have an employer who can claim copyright to the code you write, then you need a signoff from a VP or higher, which depending on who you work for, may or may not take some time, and may or may not be possible.

AntonKrug commented 3 years ago

Thank you very much Jim, your comment (as always) is very helpful. Will try to get them under FSF as they are fairly trivial, but getting assignment would be great for the future.