On 27/09/2013 21:12, Martin wrote:

2) In gdbmidebugger

line 5090
function TGDBMIDebuggerCommandAttach.DoExecute: Boolean;

line 5123
  // Attach
  if not ExecuteCommand('attach %s', [FProcessID], R) then
...
line 5145
  // Get PID
  NewPID := 0;

Insert after this
  ExecuteCommand('-gdb-set language pascal', [cfCheckError]);

This is currently done before attach. I dont think it makes a difference, but I also do not think gdb cares much what I think.

And if it is, it would explain. The values by GDB, are all uppercase. The value for the hint is not. If gdb thinks it should be case sensitive....

also add the following

|  ExecuteCommand('set case-sensitive off|', []);


and if you want, BEFORE and after
|  ExecuteCommand('show case-sensitive|', []);

so it can be inspected in the log
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to