This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support DW_FORM_strx1, _strx2, _strx3, _strx4 forms.


>>>>> "Ali" == Ali Tamur via gdb-patches <gdb-patches@sourceware.org> writes:

Ali> Dwarf5 defines DW_FORM_strx1 and others, which are similar
Ali> to DW_FORM_strx but uses 1-4 bytes unsigned integers. This is
Ali> a small step towards supporting dwarf5 in gdb.

Thanks for doing this.

Ali> * gdb/testsuite/lib/dwarf.exp(): Added DW_FORM_strx1-4.

gdb/testsuite has its own ChangeLog, so this entry should go there.

Ali> +static unsigned int
Ali> +read_3_bytes (bfd *abfd, const gdb_byte *buf)

Normally in gdb, a new function should have an introductory comment.  I
realize the other read_*_bytes functions don't have this, but that's
just a historical error.

The comment doesn't have to be very long.

This patch is ok with such a comment.  Thanks.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]