All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5107D528.2010305@siemens.com>

diff --git a/a/1.txt b/N1/1.txt
index 2f4781f..607d2a6 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -61,9 +61,9 @@ Let me guess: You are dumping a weird QEMU/KVM CPU, right?
 >> +MAX_CPUS = 4096
 >> +
 >> +def get_current_cpu():
->> +	if get_gdbserver_type() = GDBSERVER_QEMU:
+>> +	if get_gdbserver_type() == GDBSERVER_QEMU:
 >> +		return gdb.selected_thread().num - 1
->> +	elif get_gdbserver_type() = GDBSERVER_KGDB:
+>> +	elif get_gdbserver_type() == GDBSERVER_KGDB:
 >> +		tid = gdb.selected_thread().ptid[2]
 >> +		if tid > (0x100000000 - MAX_CPUS - 2):
 >> +			return 0x100000000 - tid - 2
@@ -74,7 +74,7 @@ Let me guess: You are dumping a weird QEMU/KVM CPU, right?
 >> +				   "not yet supported with this gdb server.")
 >> +
 >> +def per_cpu(var_ptr, cpu):
->> +	if cpu = -1:
+>> +	if cpu == -1:
 >> +		cpu = get_current_cpu()
 >> +	if is_target_arch("sparc:v9"):
 >> +		offset = gdb.parse_and_eval("trap_block[" + str(cpu) +
diff --git a/a/content_digest b/N1/content_digest
index 768c9e1..9352e4a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\020130129135109.GF14302@pd.tnic\0"
  "From\0Jan Kiszka <jan.kiszka@siemens.com>\0"
  "Subject\0Re: [PATCH v5 16/20] scripts/gdb: Add internal helper and convenience function for per-cpu lookup\0"
- "Date\0Tue, 29 Jan 2013 13:56:56 +0000\0"
+ "Date\0Tue, 29 Jan 2013 14:56:56 +0100\0"
  "To\0Borislav Petkov <bp@alien8.de>"
   Andrew Morton <akpm@linux-foundation.org>
   linux-kernel@vger.kernel.org
@@ -79,9 +79,9 @@
  ">> +MAX_CPUS = 4096\n"
  ">> +\n"
  ">> +def get_current_cpu():\n"
- ">> +\tif get_gdbserver_type() = GDBSERVER_QEMU:\n"
+ ">> +\tif get_gdbserver_type() == GDBSERVER_QEMU:\n"
  ">> +\t\treturn gdb.selected_thread().num - 1\n"
- ">> +\telif get_gdbserver_type() = GDBSERVER_KGDB:\n"
+ ">> +\telif get_gdbserver_type() == GDBSERVER_KGDB:\n"
  ">> +\t\ttid = gdb.selected_thread().ptid[2]\n"
  ">> +\t\tif tid > (0x100000000 - MAX_CPUS - 2):\n"
  ">> +\t\t\treturn 0x100000000 - tid - 2\n"
@@ -92,7 +92,7 @@
  ">> +\t\t\t\t   \"not yet supported with this gdb server.\")\n"
  ">> +\n"
  ">> +def per_cpu(var_ptr, cpu):\n"
- ">> +\tif cpu = -1:\n"
+ ">> +\tif cpu == -1:\n"
  ">> +\t\tcpu = get_current_cpu()\n"
  ">> +\tif is_target_arch(\"sparc:v9\"):\n"
  ">> +\t\toffset = gdb.parse_and_eval(\"trap_block[\" + str(cpu) +\n"
@@ -128,4 +128,4 @@
  "Siemens AG, Corporate Technology, CT RTC ITP SDP-DE\n"
  Corporate Competence Center Embedded Linux
 
-2ae6c45094c777e308bb1f18283dc897c2f40251bd96c847e44e4cd18e564c88
+b9f1e1c08b46b83c3c016055e1b986eba84650dce2872e04f62280e4abcc125a

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.