From 230830b832fe540d631bc45512e1e6f0b721e32d Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys <mitchelh@codeaurora.org> Date: Mon, 27 Jan 2014 10:39:26 -0800 Subject: [PATCH] linux-ramdump-parser-v2: fix some error message typos We are currently printing gdb_path when there are issues with nm_path. Fix this by printing nm_path. Also change local_settings.pyi to local_settings.py. Change-Id: I391abb423b32cf571be1d6da3b8961cc3c6e2ee4 --- linux-ramdump-parser-v2/ramparse.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-ramdump-parser-v2/ramparse.py b/linux-ramdump-parser-v2/ramparse.py index 4128c21..87c7260 100755 --- a/linux-ramdump-parser-v2/ramparse.py +++ b/linux-ramdump-parser-v2/ramparse.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -160,7 +160,7 @@ if __name__ == '__main__': if gdb_path is None or nm_path is None: print_out_str("!!! Incorrect path for toolchain specified.") - print_out_str("!!! Please see the README for instructions on setting up local_settings.pyi or CROSS_COMPILE") + print_out_str("!!! Please see the README for instructions on setting up local_settings.py or CROSS_COMPILE") sys.exit(1) print_out_str("Using gdb path {0}".format(gdb_path)) @@ -177,11 +177,11 @@ if __name__ == '__main__': sys.exit(1) if not os.path.exists(nm_path): - print_out_str("!!! nm_path {0} does not exist! Check your settings!".format(gdb_path)) + print_out_str("!!! nm_path {0} does not exist! Check your settings!".format(nm_path)) sys.exit(1) if not os.access(nm_path, os.X_OK): - print_out_str("!!! No execute permissions on nm path {0}".format(gdb_path)) + print_out_str("!!! No execute permissions on nm path {0}".format(nm_path)) print_out_str("!!! Please check the path settings") print_out_str("!!! If this tool is being run from a shared location, contact the maintainer") sys.exit(1) -- GitLab