This is the mail archive of the gdb@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] |
The Question is, when I created my own "struct target_ops" object and initialized it properly, then added it to targetlist, I could expect it would respond to commands like target remote and break.
As I've mentioned in a previous mail, current_target holds the value specified in remote.c rather than my own remote-XXX.c. I guess the expected value is overrided in init.c (which is a generated file during building) since _initialize_remote() is called after calling _initialize_remote_XXX(). It is easy to find an ugly and offensive way to avoid that situation. But I tend to believe there are some clean and pretty means to do that and I don't know yet.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |