Changeset e28175d in mainline for uspace/app/taskdump
- Timestamp:
- 2020-03-15T10:44:02Z (6 years ago)
- Parents:
- b401b33 (diff), 44dde42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- heiducteam <tristanided@…> (2020-03-15 10:44:02)
- git-committer:
- GitHub <noreply@…> (2020-03-15 10:44:02)
- Location:
- uspace/app/taskdump
- Files:
-
- 1 deleted
- 1 edited
- 1 moved
-
Makefile (deleted)
-
meson.build (moved) (moved from uspace/srv/hid/s3c24xx_ts/Makefile ) (1 diff)
-
taskdump.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/meson.build
rb401b33 re28175d 27 27 # 28 28 29 USPACE_PREFIX = ../../.. 30 31 BINARY = s3c24xx_ts 32 33 SOURCES = \ 34 s3c24xx_ts.c 35 36 include $(USPACE_PREFIX)/Makefile.common 29 includes += include_directories('include') 30 src = files( 31 'elf_core.c', 32 'fibrildump.c', 33 'taskdump.c', 34 'symtab.c', 35 ) -
uspace/app/taskdump/taskdump.c
rb401b33 re28175d 126 126 static errno_t connect_task(task_id_t task_id) 127 127 { 128 async_sess_t *ksess = async_connect_kbox(task_id); 128 errno_t rc; 129 async_sess_t *ksess = async_connect_kbox(task_id, &rc); 129 130 130 131 if (!ksess) { 131 if ( errno== ENOTSUP) {132 if (rc == ENOTSUP) { 132 133 printf("You do not have userspace debugging support " 133 134 "compiled in the kernel.\n"); 134 135 printf("Compile kernel with 'Support for userspace debuggers' " 135 136 "(CONFIG_UDEBUG) enabled.\n"); 136 return errno;137 return rc; 137 138 } 138 139 139 140 printf("Error connecting\n"); 140 141 printf("async_connect_kbox(%" PRIu64 ") -> %s", task_id, str_error_name(errno)); 141 return errno;142 } 143 144 errno_trc = udebug_begin(ksess);142 return rc; 143 } 144 145 rc = udebug_begin(ksess); 145 146 if (rc != EOK) { 146 147 printf("udebug_begin() -> %s\n", str_error_name(rc));
Note:
See TracChangeset
for help on using the changeset viewer.
