Bug 31189 - [multi-target] remote-fileio uses globals
Summary: [multi-target] remote-fileio uses globals
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: remote (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-23 23:05 UTC by Tom Tromey
Modified: 2023-12-29 01:00 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 Tom Tromey 2023-12-23 23:05:45 UTC
I noticed that remote-fileio.c uses a global for the fd cache.
This could potentially interfere with multi-target.
"remote_fio_data" should probably be moved to the remote target.
Comment 1 Tom Tromey 2023-12-29 01:00:04 UTC
I have a fix.