Changeset c1694b6b in mainline for uspace/app/taskdump/taskdump.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f77c1c9
- Parents:
- 9eb1ff5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/app/taskdump/taskdump.c ¶
r9eb1ff5 rc1694b6b 142 142 int rc = udebug_begin(ksess); 143 143 if (rc < 0) { 144 printf("udebug_begin() -> % d\n", rc);144 printf("udebug_begin() -> %s\n", str_error_name(rc)); 145 145 return rc; 146 146 } … … 224 224 rc = udebug_thread_read(sess, &dummy_buf, 0, &copied, &needed); 225 225 if (rc < 0) { 226 printf("udebug_thread_read() -> % d\n", rc);226 printf("udebug_thread_read() -> %s\n", str_error_name(rc)); 227 227 return rc; 228 228 } … … 238 238 rc = udebug_thread_read(sess, thash_buf, buf_size, &copied, &needed); 239 239 if (rc < 0) { 240 printf("udebug_thread_read() -> % d\n", rc);240 printf("udebug_thread_read() -> %s\n", str_error_name(rc)); 241 241 return rc; 242 242 } … … 273 273 rc = udebug_areas_read(sess, &dummy_buf, 0, &copied, &needed); 274 274 if (rc < 0) { 275 printf("udebug_areas_read() -> % d\n", rc);275 printf("udebug_areas_read() -> %s\n", str_error_name(rc)); 276 276 return rc; 277 277 } … … 282 282 rc = udebug_areas_read(sess, ainfo_buf, buf_size, &copied, &needed); 283 283 if (rc < 0) { 284 printf("udebug_areas_read() -> % d\n", rc);284 printf("udebug_areas_read() -> %s\n", str_error_name(rc)); 285 285 return rc; 286 286 } … … 358 358 rc = udebug_regs_read(sess, thash, &istate); 359 359 if (rc < 0) { 360 printf("Failed reading registers (%d).\n", rc);360 printf("Failed reading registers: %s.\n", str_error_name(rc)); 361 361 return EIO; 362 362 }
Note:
See TracChangeset
for help on using the changeset viewer.