Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: native_client_sdk/src/tools/nacl_gcc.mk

Issue 22434005: [NaCl SDK] Unable to debug on GLIBC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/nacl_llvm.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # 5 #
6 # GNU Make based build file. For details on GNU Make see: 6 # GNU Make based build file. For details on GNU Make see:
7 # http://www.gnu.org/software/make/manual/make.html 7 # http://www.gnu.org/software/make/manual/make.html
8 # 8 #
9 9
10 10
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 # 422 #
423 # HTML file generation 423 # HTML file generation
424 # 424 #
425 CREATE_HTML := python $(NACL_SDK_ROOT)/tools/create_html.py 425 CREATE_HTML := python $(NACL_SDK_ROOT)/tools/create_html.py
426 426
427 define HTML_RULE 427 define HTML_RULE
428 all: $(OUTDIR)/$(1).html 428 all: $(OUTDIR)/$(1).html
429 $(OUTDIR)/$(1).html: $(EXECUTABLES) 429 $(OUTDIR)/$(1).html: $(EXECUTABLES)
430 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) $(HTML_FLAGS) -o $$@ $$^) 430 $(call LOG,CREATE_HTML,$$@,$(CREATE_HTML) $(HTML_FLAGS) -o $$@ $$^)
431 endef 431 endef
432
433
434 #
435 # Determine which executable to pass into the debugger. For newlib
436 # this is the NEXE which will actually be used. For glibc, runnable-ld.so
437 # is the "app", and the "app" is actual an .so we load.
binji 2013/08/11 00:39:13 s/actual/actually/
438 #
439 ifeq (x86_32,$(SYSARCH))
440 LIB_NAME = lib32
441 else
442 LIB_NAME = lib64
443 endif
444
445
446 ifeq (newlib,$(TOOLCHAIN))
447 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe
448 else
449 GDB_DEBUG_TARGET = $(abspath $(OUTDIR))/$(LIB_NAME)/runnable-ld.so
450 endif
OLDNEW
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/nacl_llvm.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698