public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [question] If the code format is wrong, the _initialize_xxx functions cannot be generated?
@ 2023-01-30  2:15 hilbert
  2023-01-30  3:03 ` Simon Marchi
  0 siblings, 1 reply; 9+ messages in thread
From: hilbert @ 2023-01-30  2:15 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

Hi,


Does newly added code need a fixed code format. I registered a new target.
But if I use the command "clang-format -style=LLVM -i newtarget.c" to reformat the code, and then compile it, the _initialize_new_target() function will not be generated in init.c;
 if I use the original code format, gdb The _initialize_new_target() function is generated. 
Is this understanding correct?
Thank you very much.




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-02-08 19:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30  2:15 [question] If the code format is wrong, the _initialize_xxx functions cannot be generated? hilbert
2023-01-30  3:03 ` Simon Marchi
2023-01-30  8:30   ` hilbert
2023-01-31  1:28     ` Simon Marchi
2023-01-31  1:58       ` hilbert
2023-01-31  2:01         ` Simon Marchi
2023-01-31  2:10           ` Joel Sherrill
2023-01-31  3:31             ` hilbert
2023-02-08 19:58             ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).