Disassembling functions via the custom context menu in the source file view is broken. The reason for this is that subprograms in this view are displayed as declarations, e.g. int main(void), and the custom context menu handler uses this string in order to construct disassembly requests to gdb - this does not work, as instead of int main(void), only the identifier main should be used. There are probably issues with this elsewhere. A possible way to handle this is not to rely on the text in the tree widget, and instead to add a custom Qt role placeholder for holding the proper identifier string to be used.
Disassembling functions via the custom context menu in the source file view is broken. The reason for this is that subprograms in this view are displayed as declarations, e.g.
int main(void)
, and the custom context menu handler uses this string in order to construct disassembly requests to gdb - this does not work, as instead ofint main(void)
, only the identifiermain
should be used. There are probably issues with this elsewhere. A possible way to handle this is not to rely on the text in the tree widget, and instead to add a custom Qt role placeholder for holding the proper identifier string to be used.