Skip to content
Commit 4a75d7c5 authored by Tiezhu Yang's avatar Tiezhu Yang
Browse files

gdb: LoongArch: Fix code style issues



Fix some code style issues suggested by Tom Tromey and Andrew Burgess,
thank you.

(1) Put an introductory comment to explain the purpose for some functions.

(2) Modify the the attribute code to make it portable.

(3) Remove globals and pass pointers to locals.

(4) Remove "*" in the subsequent comment lines.

(5) Put two spaces before "{" and "}".

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
parent 91896b4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment