Remove make_hex_string
authorTom Tromey <tom@tromey.com>
Tue, 24 Sep 2019 23:36:07 +0000 (17:36 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 25 Sep 2019 15:37:56 +0000 (09:37 -0600)
commit858f25f0dd3c7013e4c87b95fa8edac223d26156
treedf6f8df78087efc82bda224864035a94ab03a5f8
parent9a24a2763daa773328a788988048a7b3f344a548
Remove make_hex_string

I noticed that make_hex_string does essentially the same thing as
bin2hex, and furthermore is only called in a single spot.  This patch
removes make_hex_string.

Tested by the builtbot.

gdb/ChangeLog
2019-09-25  Tom Tromey  <tom@tromey.com>

* python/py-objfile.c (objfpy_get_build_id): Use bin2hex.
* utils.h (make_hex_string): Don't declare.
* utils.c (make_hex_string): Remove.
gdb/ChangeLog
gdb/python/py-objfile.c
gdb/utils.c
gdb/utils.h
This page took 0.02467 seconds and 4 git commands to generate.