Skip to content

Commit 2b26055

Browse files
author
gfelber
committed
added changelog entry and fixed python2.7 compatibility
1 parent 94b7a8f commit 2b26055

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ The table below shows which release corresponds to each branch, and what date th
7171

7272
## 4.14.0 (`dev`)
7373

74+
- [#2382][2382] added optional port and gdb_args parameters to gdb.debug()
7475
- [#2360][2360] Add offline parameter for `search_by_hash` series function
7576
- [#2356][2356] Add local libc database provider for libcdb
7677
- [#2374][2374] libcdb.unstrip_libc: debug symbols are fetched only if not present

pwnlib/gdb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def _gdbserver_args(pid=None, path=None, port=0, args=None, which=None, env=None
348348
elif env is not None:
349349
gdbserver_args += ['--wrapper', which('env'), '-i'] + env_args + ['--']
350350

351-
gdbserver_args += [f'localhost:{port}']
351+
gdbserver_args += ['localhost:%d' % port]
352352
gdbserver_args += args
353353

354354
return gdbserver_args

0 commit comments

Comments
 (0)