gdb: fix nits in previous patches

I forgot to fix some nits pointed out in review before merging the
"frame inlined in outer frame series", this patch fixes them.

gdb/ChangeLog:

	* frame-unwind.h (frame_prev_register_ftype): Fix adjective
	ordering in comment.
	* frame.c (frame_id_eq): Fix indentation.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.

Change-Id: Iaddde9677fc3f68382558d1a16f5a0b4beb78bac
This commit is contained in:
Simon Marchi
2020-08-31 13:31:01 -04:00
parent 22b9b4b05b
commit f3bd50f198
5 changed files with 13 additions and 3 deletions

View File

@ -774,7 +774,7 @@ frame_id_eq (frame_id l, frame_id r)
bool eq;
if (l.stack_status == FID_STACK_INVALID
|| r.stack_status == FID_STACK_INVALID)
|| r.stack_status == FID_STACK_INVALID)
/* Like a NaN, if either ID is invalid, the result is false.
Note that a frame ID is invalid iff it is the null frame ID. */
eq = false;