Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#13238 closed Patch - Feature (fixed)

Android: gdb script improvement

Reported by: Peter Bennett Owned by: Peter Bennett
Priority: minor Milestone: 30.0
Component: Ports - Android Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

A small change to gdb.sh gives a much quicker startup time in most cases. When copying the libraries, add the -u option so that ones that are already up to date are not copied again. Also add -a to make sure the correct date is copied for the library and -v so that the developer can see something is happening, rather than wondering if the thing is hung.

The attached patch does this.

I wonder if we could use the -s option to just create links? This may be even more of a speed improvement. I am not sure since some of the things being copied are already links and creating more links to links may be a problem.

Attachments (1)

20180307_android_gdb.patch (525 bytes) - added by Peter Bennett 3 years ago.
gdb.sh improvements

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by Peter Bennett

Attachment: 20180307_android_gdb.patch added

gdb.sh improvements

comment:1 Changed 3 years ago by Mark Spieth

Sounds good.

I tried links and they didn't work (IIRC). what also might happen is that when gdb starts if might pull overwrite anything it needs to.

SHIPIT

comment:2 Changed 3 years ago by Peter Bennett <pbennett@…>

Resolution: fixed
Status: newclosed

In 0b4dfa0cac6e36456002a3b7f029637ce3718657/packaging:

Android: Speed up gdb.sh debug setup script
Fixes #13238

comment:3 Changed 2 years ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.