[PATCH] Fix for incorrect breakpoint set in case of flang compiled binary

Tom Tromey tom@tromey.com
Mon Aug 17 20:51:19 GMT 2020


>>>>> ">" == Sharma, Alok Kumar <AlokKumar.Sharma@amd.com> writes:

>> +	          || startswith(COMPUNIT_PRODUCER(cust), " F90 Flang"))))

Space before "(".

Does it really start with a space?  That seems weird.

>>  # Check if not allocated VLA in type does not break
>>  # the debugger when accessing it.
>> -gdb_breakpoint [gdb_get_line_number "before-allocated"]
>> -gdb_continue_to_breakpoint "before-allocated"
>> +# break main for Flang compiler already breaks here

Do you know why?

Tom


More information about the Gdb-patches mailing list