Check return values of functions declared with warn_unused_result
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-01-06 Jim Blandy <jimb@red-bean.com>
2
3 Check return values of functions declared with warn_unused_result
4 attribute in GLIBC 2.8.
5 * cli/cli-cmds.c (pwd_command): Check return value from getcwd.
6 * inflow.c (check_syscall): New function.
7 (new_tty): Use check_syscall to check return values from open and dup.
8 * linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
9 * main.c (captured_main): Call cwd after setting up gdb_stderr;
10 check for errors from getcwd.
11 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
12 * ui-file.c (stdio_file_write): Ignore return value from fwrite.
13 (stdio_file_fputs): Same.
14 * utils.c (internal_vproblem): abort if last-ditch error message
15 write fails.
16
17 * top.c (gdb_init): Don't set the current directory here; that's
18 already been done in captured_main.
19
20 2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
21
22 * ser-tcp.c: Adjust includes.
23 (tcp_set_cmdlist, tcp_show_cmdlist): Declare.
24 (tcp_auto_retry, tcp_retry_limit): Declare.
25 (TIMEOUT): Remove, in favor of tcp_retry_limit.
26 (POLL_INTERVAL): Increase to 5, in favor of backoff logic.
27 (wait_for_connect): New function.
28 (net_open): Use it. Add auto-retry logic.
29 (set_tcp_cmd, show_tcp_cmd): New functions.
30 (_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
31 and "set/show tcp connect-timeout" commands.
32 * NEWS: Document new commands.
33
34 2009-01-05 Tom Tromey <tromey@redhat.com>
35
36 * python/python-internal.h (Py_ssize_t): Define as int.
37
38 2009-01-05 Jim Blandy <jimb@red-bean.com>
39
40 * MAINTAINERS: Fix my e-mail address as steering committee member.
41
42 2009-01-03 Joel Brobecker <brobecker@adacore.com>
43
44 Updated copyright notices for most files.
45
46 2009-01-03 Joel Brobecker <brobecker@adacore.com>
47
48 * top.c (print_gdb_version): Update copyright year.
49
50 2009-01-03 Joel Brobecker <brobecker@adacore.com>
51
52 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
53
54 2009-01-01 Pedro Alves <pedro@codesourcery.com>
55
56 PR breakpoints/9681:
57 * exceptions.h (enum errors): New error type, MEMORY_ERROR.
58 * corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
59 * breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
60 retrow all other exceptions.
61
62 For older changes see ChangeLog-2008.
63 \f
64 Local Variables:
65 mode: change-log
66 left-margin: 8
67 fill-column: 74
68 version-control: never
69 coding: utf-8
70 End:
This page took 0.032564 seconds and 5 git commands to generate.