Bug 25103 - GDB 8.3.1 crash with TAG_Pointer => TAG_Declaration => TAG_Array (of char)
Summary: GDB 8.3.1 crash with TAG_Pointer => TAG_Declaration => TAG_Array (of char)
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 8.3.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-14 23:43 UTC by Martin
Modified: 2019-10-14 23:43 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.