Bug 25103

Summary: GDB 8.3.1 crash with TAG_Pointer => TAG_Declaration => TAG_Array (of char)
Product: gdb Reporter: Martin <gdb.bugs>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: P2    
Version: 8.3.1   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Martin 2019-10-14 23:43:38 UTC
compile below with fpc 3.0.4
commandline opt: -gw3
(for dwarf 3)

after b was assigned do
p b^

program Project1;
var
  a: ansistring;
  b: ^ansistring;
begin
  a:= copy('abcde',1,3);
  b:=@a;
  b:=@a;
end.